// Create non-distributed simulation
Simulation simulation = new Simulation(settings);
for (int i = 0; i < settings.getIterations(); ++i) {
simulation.step();
runRunnables(stepRuns);
runRunnables(collectRuns);
ResultsComparator comparator = new ResultsComparator(i);
compareResults(master, simulation, comparator);