Skip to content

Passed

tests / 08 testsuite-compliance / ModelicaCompliance.Operators.Mathematical.SqrtNegativeExpressionIncorrect.SqrtNegativeExpressionIncorrect (from omc OMCompiler v1.24.0-dev.89+g0c6cfc383b compliance suite 3.2)

Took 8 sec.

Standard Output

Simulation execution failed for model: ModelicaCompliance.Operators.Mathematical.SqrtNegativeExpressionIncorrect
LOG_ASSERT        | warning | The following assertion has been violated at time 0.000000
LOG_ASSERT        | debug   | Model error: Argument of sqrt(-25.0) was -25 should be >= 0
LOG_ASSERT        | info    | simulation terminated by an assertion at initialization
Error: Model error: Argument of sqrt(unbox(arg.value)) was -25 should be >= 0
Error: Model error: Argument of sqrt(Expression.toReal(e)) was -25 should be >= 0