integrated a script to extract the time that the coarse simulation stopped