"x" Argument in Optimization.OptimizationProblem

That’s a typo, should be u0.