Verification of Co-simulation Algorithms Subject to Algebraic Loops and Adaptive Steps