Added a warning when simulation time not a multiple of sampling time