Problem of ocp s-function simulation time output

Hi :wave:
I got somehow strange timing plot from simulation:
According to definitions:

  1. CPU time
  2. CPU time integrator
  3. CPU time QP solution
  4. CPU time linearization (including integrator)

the blue plot should be below the yellow one. But now looks like the sim time is longer than the CPU time.

Are you sure the plot is correct?
Did you try to reproduce this in the native Matlab interface?
What are the options you are using?

I didnt do specific change to time output except for enabling sfunction output ports. I think the plot is wrong as the integrator tim should not be longer than the overall timing at any stage. :sob: Quiet confusing