<BUG>for (PopulationSize popSize : initialStateInput.get().popSizesInput.get())for (Population pop : popSize.getPopSizes(modelInput.get()).keySet())initState.set(pop, popSize.getPopSizes(modelInput.get()).get(pop));spec.setInitPopulationState(initState);</BUG><CONTEXT>spec.setSimulationTime(simulationTimeInput.get());elsespec.setSimulationTime(Double.POSITIVE_INFINITY);spec.setnTraj(nTrajInput.get());master.model.PopulationState initState = new master.model.PopulationState();<extra_id_0>for (PopulationEndCondition endCondition : endConditionsInput.get())</CONTEXT>
for (PopulationSize popSize : initialStateInput.get().popSizesInput.get()) {popSize.computePopulationSizes(modelInput.get());for (Population pop : popSize.getPopSizes().keySet())initState.set(pop, popSize.getPopSizes().get(pop));}spec.setInitPopulationState(initState);