STORM_LOG_THROW(alreadyAssignedVariables.find(assignedVariable)==alreadyAssignedVariables.end(),storm::exceptions::WrongFormatException,"Error in "<<command.getFilename()<<", line "<<command.getLineNumber()<<": duplicate assignment to variable '"<<assignment.getVariableName()<<"'.");
STORM_LOG_THROW(alreadyAssignedVariables.find(assignedVariable)==alreadyAssignedVariables.end(),storm::exceptions::WrongFormatException,"Error in "<<command.getFilename()<<", line "<<command.getLineNumber()<<": duplicate assignment to variable '"<<assignment.getVariableName()<<"'.");
STORM_LOG_THROW(assignedVariable.getType()==assignment.getExpression().getType()||(assignedVariable.getType().isRationalType()&&assignment.getExpression().getType().isNumericalType()),storm::exceptions::WrongFormatException,"Error in "<<command.getFilename()<<", line "<<command.getLineNumber()<<": illegally assigning a value of type '"<<assignment.getExpression().getType()<<"' to variable '"<<assignment.getVariableName()<<"' of type '"<<assignedVariable.getType()<<"'.");
STORM_LOG_THROW(assignedVariable.getType()==assignment.getExpression().getType()||(assignedVariable.getType().isRationalType()&&assignment.getExpression().getType().isNumericalType()),storm::exceptions::WrongFormatException,"Error in "<<command.getFilename()<<", line "<<command.getLineNumber()<<": illegally assigning a value of type '"<<assignment.getExpression().getType()<<"' to variable '"<<assignment.getVariableName()<<"' of type '"<<assignedVariable.getType()<<"'.");
STORM_LOG_THROW(insertionResult.second||insertionResult.first->second.second==module.getName(),storm::exceptions::WrongFormatException,"Error in "<<command.getFilename()<<", line "<<command.getLineNumber()<<": Syncronizing command with action label '"<<command.getActionName()<<"' illegally assigns a value to global variable '"<<assignedVariable.getName()<<"'. Previous assignment to the variable at line "<<insertionResult.first->second.first<<" in module '"<<insertionResult.first->second.second<<"'.");