STORM_LOG_THROW(engine==storm::settings::modules::CoreSettings::Engine::Sparse,storm::exceptions::InvalidSettingsException,"Can only use sparse engine with explicit input.");
STORM_LOG_THROW(nrStates==0,storm::exceptions::WrongFormatException,"Number states declared twice");
std::getline(file,line);
nrStates=parseNumber<size_t>(line);
}elseif(line=="@nr_choices"){
STORM_LOG_THROW(nrChoices==0,storm::exceptions::WrongFormatException,"Number of actions declared twice");
std::getline(file,line);
nrChoices=parseNumber<size_t>(line);
}elseif(line=="@model"){
// Parse rest of the model
STORM_LOG_THROW(sawType,storm::exceptions::WrongFormatException,"Type has to be declared before model.");
STORM_LOG_THROW(sawParameters,storm::exceptions::WrongFormatException,"Parameters have to be declared before model.");
STORM_LOG_THROW(nrStates!=0,storm::exceptions::WrongFormatException,"No. of states has to be declared before model.");
STORM_LOG_THROW(!options.buildChoiceLabeling||nrChoices!=0,storm::exceptions::WrongFormatException,"No. of actions (@nr_choices) has to be declared before model.");
STORM_LOG_WARN_COND(nrChoices!=0,"No. of actions has to be declared. We may continue now, but future versions might not support this.");