I have a model that behaving strangely in the experimenter. As long as the number of runs in my experiment is not greater than the number of cores in my machine, it works correctly. (My computer has 8 cores). But if it has more than 8 runs, the second pas through for runs > 8 run almost instantaneously and return no results. So if I have 6 scenarios and 1 replication, or 4 scenarios with 2 replications, it's fine. But if I have 9 scenarios with 1 rep, or 6 scenarios with 2 reps, the last runs don't work.
I saw a similar question earlier in the forums, but the suggestion was to check "Restore original state after each replication", and it was already checked in this model.(I actually tried it both ways and neither worked. Also, I tried on a different model to see if it was a FS2019 bug, but the other model seems fine.
The pictures below show the problem:
Six scenarios, 1 rep, all ok:
6 scenarios 2 reps: the first 4 scenarios worked; the last 2 scenarios failed. This was run immediately after the above, changing only the number of reps (from 1 to 2):
9 scenarios: the first 8 scenarios worked, the 9th rep failed:
Experimenter config:
Scenarios are pretty simple, just a global variable: