Hello Hector,
does your model configuration include a controller, e.g. PI ?
If that's the case, then that may be the issue (I have had the same in multiple occasions).
When you re-initialise a simulation, it transfers the end states of the derived state variables, which is of course generally correct.
It is not correct for the Integ_e variable of a PI controller, that should always be initialised back to zero.
So, if you do have a PI controller, try the following:
- unhide the hidden variables (via the application menu/Options)
- manually reset the initial value for Integ_e to zero
Hope this helps
(btw this is going to be fixed in the next release)