Trying to load file: main.koat Initial Control flow graph problem: Start location: f300 1: f2 -> f2 : A'=B+A, [ B+A>=0 ], cost: 1 0: f2 -> f1 : A'=B+A, C'=free, [ 0>=1+B+A ], cost: 1 2: f300 -> f2 : [], cost: 1 Simplified the transitions: Start location: f300 1: f2 -> f2 : A'=B+A, [ B+A>=0 ], cost: 1 2: f300 -> f2 : [], cost: 1 Eliminating 1 self-loops for location f2 Removing the self-loops: 1. Adding an epsilon transition (to model nonexecution of the loops): 4. Removed all Self-loops using metering functions (where possible): Start location: f300 3: f2 -> [3] : A'=B+A, [ B+A>=0 ], cost: 1 4: f2 -> [3] : [], cost: 0 2: f300 -> f2 : [], cost: 1 Applied chaining over branches and pruning: Start location: f300 Final control flow graph problem, now checking costs for infinitely many models: Start location: f300 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),?)