Skip to content

Time Lock Error in UPPAAL Model (Learning query) #237

Answered by mikucionisaau
Szpilman2 asked this question in Q&A
Discussion options

You must be logged in to vote

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 state m.L0 n.second when x reaches 3, because m.L0 has an invariant x<=3 and the output transition is guarded with input synchronization use?, i.e. the process cannot make progress independently (cannot leave L0) and the invariant blocks the time -- time-lock (special case of a deadlock).

Similarly the timelock happens in the k.l0 because the process k cannot leave L0 when clock x gets to 5 because the outgoing transition is guarded with input synchronization use?.

You need to…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Szpilman2
Comment options

@mikucionisaau
Comment options

Answer selected by Szpilman2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants