Hi,
I'm checking the code of Clocks.fmu. I have a bit doubt about the activateModelPartition3 partition. Actually, in activateModelPartition3() shouldn't the following code be protected by lockPreemption/UnlockPreemption?
M(totalInClockTicks)++;
// set output clocks
M(outClock) = ((M(outClock) == false) && (M(totalInClockTicks) % 5 == 0));
If not, any reason for that?
Thanks,
Masoud