The issue appeared only during long-running AnyLogic simulations. While short runs performed normally, the simulation gradually slowed down as the simulation horizon increased. Each subsequent month took longer to calculate than the previous one, indicating that some resource was accumulating over time. The model continued to produce correct results, but its computational performance progressively degraded. This behavior pointed to a potential memory management issue rather than a problem with the simulation logic itself.
The Anylogic simulation model itself is relatively large, representing an entire refinery from feedstock sources to final product dispatch at a detailed,
third-level representation (Enterprise modes). It contains more than one hundred modeled
Petroleum Refining Library objects, including
sources, process units,
tank farms,
mixing nodes, and loading racks.