﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5381	Do not report negative simulation time	federico.terraneo@…	Martin Sjölund	"When simulating the attached model in OMEdit, the statistics report a negative simulation time.
The same does not happen when using omc from the command line.

Example OMEdit output. Simulation time is -0.3%

   0.0112766s          reading init.xml
  0.00150722s          reading info.xml
  0.00675286s [  0.8%] pre-initialization
 0.000143961s [  0.0%] initialization
  0.00012964s [  0.0%] steps
   0.0996581s [ 11.2%] creating output-file
    0.780552s [ 88.0%] event-handling
  0.00276749s [  0.3%] overhead
 -0.00277065s [ -0.3%] simulation
    0.887233s [100.0%] total

Note that this is a scalable model, the problem occurs with nx of 1000 or higher (as in the attached file).
"	defect	closed	normal	1.14.0	Run-time	v1.14.0-dev-nightly	fixed		francesco.casella@…
