Model runs extremely slowly when database is set up using SimPathsStart instead of -DBSetup
Details:
The model runs quickly when using the following terminal commands:
java -jar multirun.jar -DBSetup
java -jar multirun.jar -n 3 -s 2011 -e 2023
However, if instead of using the -DBSetup command, the database is initialised by running the SimPathStart class, the multirun process becomes significantly slower:
-This slowdown occurs regardless of whether the program is executed via the terminal (e.g., java -jar multirun.jar) or through the IDE’s built-in run tool.
-More specifically, when using SimPathStart for database setup, the initialization phase of the second and subsequent runs takes 2–4 hours to complete.