Solved
The problem is the inline evaluation after minimize() in combination with different units. This would force Mathcad to display a vector with two values of different dimensions and unfortunately thats something Mathcad is not capable of.
You have to assign the result of minimize a 2x1 vector of two variables ro make it work:

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

