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