Begin equilibrium analysis; move generated code