Trying to load file: main.koat Initial Control flow graph problem: Start location: f2 0: f300 -> f300 : A'=1+A, [ 100>=A && B>=1 ], cost: 1 1: f300 -> f3 : C'=0, D'=0, E'=0, [ A>=101 ], cost: 1 2: f2 -> f300 : A'=1, [ B>=1 ], cost: 1 3: f2 -> f3 : A'=0, C'=0, D'=0, E'=0, [ 0>=B ], cost: 1 Simplified the transitions: Start location: f2 0: f300 -> f300 : A'=1+A, [ 100>=A && B>=1 ], cost: 1 2: f2 -> f300 : A'=1, [ B>=1 ], cost: 1 Eliminating 1 self-loops for location f300 Self-Loop 0 has the metering function: 101-A, resulting in the new transition 4. Removing the self-loops: 0. Removed all Self-loops using metering functions (where possible): Start location: f2 4: f300 -> [3] : A'=101, [ 100>=A && B>=1 ], cost: 101-A 2: f2 -> f300 : A'=1, [ B>=1 ], cost: 1 Applied simple chaining: Start location: f2 2: f2 -> [3] : A'=101, [ B>=1 && 100>=1 && B>=1 ], cost: 101 Final control flow graph problem, now checking costs for infinitely many models: Start location: f2 2: f2 -> [3] : A'=101, [ B>=1 && 100>=1 && B>=1 ], cost: 101 Computing complexity for remaining 1 transitions. Found new complexity const, because: const cost. The final runtime is determined by this resulting transition: Final Guard: B>=1 && 100>=1 && B>=1 Final Cost: 101 Obtained the following complexity w.r.t. the length of the input n: Complexity class: const Complexity value: 0 WORST_CASE(Omega(1),?)