__counter__
Holds the value of the number of simulation runs.
__counter__ is a built-in variable that holds the value of the number of simulation runs. It is usually used together with optimization block bobyqa to count the number of optimization iterations. It should be used in diagram context. It cannot be used in model initialization.