Trying to load file: main.koat Initial Control flow graph problem: Start location: eval0 0: eval0 -> eval1 : [ A>=1 ], cost: 1 1: eval1 -> eval1 : B'=B+A, [ A>=1+B && C>=1+A && A>=1 ], cost: 1 2: eval1 -> eval1 : C'=B-A, [ A>=1+B && C>=1+A && A>=1 ], cost: 1 Eliminating 2 self-loops for location eval1 Removing the self-loops: 1 2. Adding an epsilon transition (to model nonexecution of the loops): 5. Removed all Self-loops using metering functions (where possible): Start location: eval0 0: eval0 -> eval1 : [ A>=1 ], cost: 1 3: eval1 -> [2] : B'=B+A, [ A>=1+B && C>=1+A && A>=1 ], cost: 1 4: eval1 -> [2] : C'=B-A, [ A>=1+B && C>=1+A && A>=1 ], cost: 1 5: eval1 -> [2] : [], cost: 0 Applied chaining over branches and pruning: Start location: eval0 Final control flow graph problem, now checking costs for infinitely many models: Start location: eval0 Computing complexity for remaining 0 transitions. The final runtime is determined by this resulting transition: Final Guard: Final Cost: 1 Obtained the following complexity w.r.t. the length of the input n: Complexity class: const Complexity value: 0 WORST_CASE(Omega(1),?)