Better error message when aborting simulation