I have a simple model (see attachment) and when I'm doing SMC I'm getting an error "Clock rate(54) must be 0 or 1" (see screenshot).
The same error is shown when I just open a model in UPPAAL.
When I got this error the first time (for large model) it has not been shown each time I'm doing SMC. But when I localized it it's shown each time I open the model in UPPAAL, do SMC or open the simulator tab.
Here is the console output:
ServerException: [Process._id0:Process.energy] Clock rate(54) must be 0 or 1.
at com.uppaal.gui.SystemInspector.a(Unknown Source)
at com.uppaal.gui.verifier.Verification.a(Unknown Source)
at on.fH.run(Unknown Source)
Created attachment 237 [details]
Created attachment 238 [details]
Created attachment 239 [details]
It looks like that some code that is not price-type aware is looking at the successors from the initial state and then it raises this problem.
This issue is similar to the simulator.
The work around is to declare an extra committed initial state which has an edge to the original initial state (so the priced-expression is not reachable directly from the initial state and the issue is not raised).