Time Lock Error in UPPAAL Model (Learning query) #237
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Enable the diagnostic trace to inspect the situation in the simulator:
Similarly the timelock happens in the You need to either remove the input synchronization |
Beta Was this translation helpful? Give feedback.
Enable the diagnostic trace to inspect the situation in the simulator:
Options
->Diagnostic trace
->Some
Time-lock error: State: ( m.L0 n.second ) #t(0)=0#time=3 x=3 energy=9
means that the system cannot leave the statem.L0 n.second
whenx
reaches3
, becausem.L0
has an invariantx<=3
and the output transition is guarded with input synchronizationuse?
, i.e. the process cannot make progress independently (cannot leaveL0
) and the invariant blocks the time -- time-lock (special case of a deadlock).Similarly the timelock happens in the
k.l0
because the processk
cannot leaveL0
when clockx
gets to5
because the outgoing transition is guarded with input synchronizationuse?
.You need to…