Hi Alex,
res_stat
is the infinity norm of the residual of the stationarity condition within the KKT conditions.
This residual is the sum of the gradient of the objective function and the weights of the multipliers times the gradients of the constraints.
The multipliers are initialized with zeros by default in acados.
Thus, what you report is expected behavior.
Cheers,
Jonathan