Producing all zero output during first optimization

Hi :wave:

acados is producing a zero output (both for xtraj and utraj ) during the first optimization run but gives a non-zero, more meaningful output in subsequent runs

// Call the Solver function
double output = acados_solver.Solver(init_state, ref_state, init_weight, weight, term_weight, ubu, lbu);
output = acados_solver.Solver(init_state, ref_state, init_weight, weight, term_weight, ubu, lbu);

Thank you for your time and any information you can provide.

Warm regards,
Mario