Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.902e-05, allocations: 8 kB / 273.2 MB, free: 0.6211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 48.7 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.589, allocations: 78.6 MB / 400.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004101/0.5895, allocations: 95.12 kB / 400.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02765/0.6172, allocations: 5.754 MB / 406.3 MB, free: 5.406 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.6172, allocations: 4 kB / 406.3 MB, free: 5.402 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.6173, allocations: 0 / 406.3 MB, free: 5.402 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009435/0.6182, allocations: 494.2 kB / 406.8 MB, free: 4.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.6183, allocations: 12.03 kB / 406.8 MB, free: 4.863 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.6184, allocations: 54.55 kB / 406.9 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.6202, allocations: 171.5 kB / 407 MB, free: 4.633 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/0.6208, allocations: 258.6 kB / 407.3 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.6208, allocations: 24.42 kB / 407.3 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.6209, allocations: 16 kB / 407.3 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.6219, allocations: 413.3 kB / 407.7 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.622, allocations: 3.938 kB / 407.7 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/0.622, allocations: 11.98 kB / 407.7 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.384e-05/0.6221, allocations: 28.48 kB / 407.8 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009593/0.6231, allocations: 353.9 kB / 408.1 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003495/0.6266, allocations: 1.712 MB / 409.8 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.627, allocations: 82.53 kB / 409.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.6271, allocations: 36.84 kB / 409.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.6272, allocations: 3.938 kB / 409.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.6272, allocations: 30.56 kB / 410 MB, free: 1.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 3.266e-06/0.6272, allocations: 0 / 410 MB, free: 1.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005157/0.6278, allocations: 121.4 kB / 410.1 MB, free: 1.344 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.6278, allocations: 59.41 kB / 410.1 MB, free: 1.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.6284, allocations: 291.1 kB / 410.4 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.6284, allocations: 25.7 kB / 410.5 MB, free: 0.957 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.6286, allocations: 237.9 kB / 410.7 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.6287, allocations: 27.64 kB / 410.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.6287, allocations: 4 kB / 410.7 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.6289, allocations: 314.8 kB / 411 MB, free: 384 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.6291, allocations: 55.97 kB / 411.1 MB, free: 328 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.6294, allocations: 113.9 kB / 411.2 MB, free: 192 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.6296, allocations: 63.95 kB / 411.3 MB, free: 128 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6296, allocations: 4 kB / 411.3 MB, free: 124 kB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006649/0.6303, allocations: 205.4 kB / 411.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.6304, allocations: 8 kB / 411.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.6304, allocations: 0 / 411.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.6304, allocations: 4 kB / 411.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/0.6331, allocations: 119.7 kB / 411.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.6358, allocations: 1.844 MB / 413.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.6364, allocations: 43.48 kB / 413.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.6364, allocations: 8 kB / 413.5 MB, free: 13.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.6365, allocations: 116.2 kB / 413.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.6366, allocations: 19.81 kB / 413.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000699/0.6373, allocations: 183.2 kB / 413.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.6374, allocations: 4 kB / 413.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.6374, allocations: 0 / 413.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.6374, allocations: 7.969 kB / 413.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.6379, allocations: 273.5 kB / 414.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6379, allocations: 0 / 414.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/0.6401, allocations: 95.88 kB / 414.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.6402, allocations: 3.984 kB / 414.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.6402, allocations: 8 kB / 414.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.6421, allocations: 1.789 MB / 416 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6421, allocations: 0 / 416 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.6427, allocations: 235.1 kB / 416.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.6428, allocations: 104.8 kB / 416.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.6429, allocations: 4.188 kB / 416.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.6433, allocations: 15.92 kB / 416.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/0.6434, allocations: 11.98 kB / 416.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.6434, allocations: 4 kB / 416.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004278/0.6439, allocations: 239.1 kB / 416.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6439, allocations: 0 / 416.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005068/0.6444, allocations: 75.84 kB / 416.6 MB, free: 10.48 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001123/0.6455, allocations: 0.8058 MB / 417.4 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002515/0.6481, allocations: 187.9 kB / 417.6 MB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.6481, allocations: 4 kB / 417.6 MB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.6496, allocations: 97.27 kB / 417.7 MB, free: 9.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.6501, allocations: 37.31 kB / 417.8 MB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.6517, allocations: 443.3 kB / 418.2 MB, free: 8.859 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.6522, allocations: 0.7872 MB / 419 MB, free: 8.047 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.6525, allocations: 71.41 kB / 419.1 MB, free: 7.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6525, allocations: 0 / 419.1 MB, free: 7.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.784/3.436, allocations: 7.62 MB / 426.7 MB, free: 372 kB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat