title: Simulation terminated because derivative is not finite
body: <p>I encounter this error when I try to run my Simulink application.</p>
  
  <blockquote>
    <p>Derivative of state '1' in block 'proiect/Filtru/Integrator' at time 9.6046876340724416E-7 is not finite. The simulation will be stopped. There may be a singularity in the solution.  If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)</p>
  </blockquote>
  
  <p>My Simulink app is this: <a href="https://i.stack.imgur.com/j1FnR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j1FnR.png" alt="enter image description here"></a></p>
  
  <p>and the block where I get the error looks like this: <a href="https://i.stack.imgur.com/ZJMew.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZJMew.png" alt="enter image description here"></a></p>
  
  <p>In the "Filtru" block, I set initial condition for the integrator block equal to <code>29.2</code>. If I set it to <code>0</code>, I do not get this error, but my initial condition has to be <code>29.2</code>.</p>
  
  <p>My input is a step from <code>0</code> to <code>10</code>. I tried to reduce the step size, but nothing changed.</p>