Simulation working until all jobs finish and than prints log