I am currently building a model on a manufacture process line and the simulation was running fine without errors. Suddenly when I entered in virtual mode to run quickly the simulation, the model started to slow down although the step is high. I am trying to identify where the issue is but nothing is working. At a certain time , the simulation just stops while the step is still running.
This is a picture of the pallete, maybe the experiment is causing this.
>Solution :
You created an infinite loop, this can be triggered by various things in your model.
Likely, you have a ‘ while’ loop not finishing, could also be a condition-based transition.
You need to find this yourself, though. 3 options:
- (easy): Check the model logic yourself and find the problem
- (easy): nudge yourself to where it stops with
tracelncommands (see where they stop showing, getting you closer to the culprit) - (harder): Use a profiler (google "AnyLogic profiling" or similar if you are not familiar)

