If you’re using a step input, you should probably be using tstops or a ContinuousCallback to tell the solver where the discontinuity is (see Handling Instability When Solving ODE Problems).
If you’re using a step input, you should probably be using tstops or a ContinuousCallback to tell the solver where the discontinuity is (see Handling Instability When Solving ODE Problems).