.FCSys.Utilities.assertEval

Information

When an assert statement is false in the initial equation section of a model, Dymola 2014 gives the following error during translation:

"Error: The conditions of the following assert statements are always false:"

without parsing the message given to the assert function. This pass-through function causes the statement to be evaluated during initialization, at which point the message is evaluated.

Interface

function assertEval
  extends Modelica.Icons.Function;
  input Boolean condition;
  input String message;
end assertEval;

Generated at 2024-04-26T18:16:04Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos