Hello everyone
I encountered a stack overflow error, which is probably caused by an accumulation of DeadPartitionEvents in my Event List.
The cause of this behaviour is a nested loop of Acquire Resource activities where we successfully acquire the QuayConveyors resource (see figure) in the first stage, but have to release it when acquiring other objects in the second didn't succeed. However, releasing does not seem to execute the DestroyPartitionEvent which pops up in the Event List, so that, if we try to assign a new QuayConveyors resource in a next activity (without delays in between), a new DestroyPartitionEvent is created, and so on. Since we do a high amount of loops (> 10), the list of DestroyPartitionEvents becomes so large it ultimately causes a Stack Overflow Error, and hence the model crashes.
Is this normal behaviour of Flexsim or have we done something that causes these events to pile up?
Kind regards
Laurenz Peleman