* Fixed issues related to module renaming that resulted from setting the module indices already in the first run
* Fixed a few uint_fast32_t vs uint_fast64_t issues, created alias PlayerIndex
STORM_LOG_THROW(globalProgramInformation.moduleToIndexMap[moduleName]==globalProgramInformation.modules.size(),storm::exceptions::WrongFormatException,"Internal error while parsing: the index for module "<<moduleName<<" does not match the on in the first run.");
STORM_LOG_THROW(false,storm::exceptions::WrongFormatException,"Parsing error in "<<this->getFilename()<<" for player "<<playerName<<": Module '"<<moduleName<<"' already controlled by another player.");
STORM_LOG_THROW(false,storm::exceptions::WrongFormatException,"Parsing error in "<<this->getFilename()<<" for player "<<playerName<<": No module named '"<<moduleName<<"' present.");
STORM_LOG_ASSERT(moduleIndexPair!=globalProgramInformation.moduleToIndexMap.end(),"Parsing error in "<<this->getFilename()<<" for player "<<playerName<<": No module named '"<<moduleName<<"' present.");
STORM_LOG_THROW(moduleNotYetControlled,storm::exceptions::WrongFormatException,"Parsing error in "<<this->getFilename()<<" for player "<<playerName<<": Module '"<<moduleName<<"' already controlled by another player.");
STORM_LOG_THROW(false,storm::exceptions::WrongFormatException,"Parsing error in "<<this->getFilename()<<" for player "<<playerName<<": Command '"<<actionName<<"' already controlled by another player.");
STORM_LOG_THROW(false,storm::exceptions::WrongFormatException,"Parsing error in "<<this->getFilename()<<" for player "<<playerName<<": No action named '"<<actionName<<"' present.");
STORM_LOG_ASSERT(actionIndexPair!=globalProgramInformation.actionIndices.end(),"Parsing error in "<<this->getFilename()<<" for player "<<playerName<<": No action named '"<<actionName<<"' present.");
STORM_LOG_THROW(actionNotYetControlled,storm::exceptions::WrongFormatException,"Parsing error in "<<this->getFilename()<<" for player "<<playerName<<": Command '"<<actionName<<"' already controlled by another player.");
// Assert that the module name is already known and has the expected index.
STORM_LOG_ASSERT(!this->secondRun||globalProgramInformation.moduleToIndexMap.count(moduleName)>0,"Module name '"<<moduleName<<"' was not found.");
STORM_LOG_ASSERT(!this->secondRun||globalProgramInformation.moduleToIndexMap[moduleName]==globalProgramInformation.modules.size(),"The index for module '"<<moduleName<<"' does not match the index from the first parsing run.");
STORM_LOG_THROW(moduleIndexPair!=globalProgramInformation.moduleToIndexMap.end(),storm::exceptions::WrongFormatException,"Parsing error in "<<this->getFilename()<<": No module named '"<<oldModuleName<<"' to rename.");
STORM_LOG_THROW(!moduleToRename.isRenamedFromModule(),storm::exceptions::WrongFormatException,"Parsing error in "<<this->getFilename()<<": The module '"<<newModuleName<<"' can not be created from module '"<<oldModuleName<<"' through module renaming because '"<<oldModuleName<<"' is also a renamed module. Create '"<<newModuleName<<"' via a renaming from base module '"<<moduleToRename.getBaseModule()<<"' instead.");
autoconst&renaming=moduleRenaming.getRenaming();
if(!this->secondRun){
// Add a mapping from the new module name to its (future) index.
// Assert that the module name is already known and has the expected index.
STORM_LOG_ASSERT(globalProgramInformation.moduleToIndexMap.count(newModuleName)>0,"Module name '"<<newModuleName<<"' was not found.");
STORM_LOG_ASSERT(globalProgramInformation.moduleToIndexMap[newModuleName]==globalProgramInformation.modules.size(),"The index for module "<<newModuleName<<" does not match the index from the first parsing run.");
// Create a mapping from identifiers to the expressions they need to be replaced with.