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.083/2.083, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.631e-05/2.642e-05, allocations: 3.984 kB / 267.6 MB, free: 5.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 48.69 MB / 316.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4116/0.5272, allocations: 78.2 MB / 394.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.5276, allocations: 94.31 kB / 394.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02513/0.5527, allocations: 5.685 MB / 400.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5528, allocations: 0 / 400.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.5528, allocations: 4 kB / 400.3 MB, free: 9.254 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.0008478/0.5536, allocations: 491.6 kB / 400.8 MB, free: 8.746 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5537, allocations: 8.031 kB / 400.8 MB, free: 8.738 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.5554, allocations: 174.4 kB / 401 MB, free: 8.578 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.5559, allocations: 260.8 kB / 401.2 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.5559, allocations: 4 kB / 401.2 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-05/0.556, allocations: 12 kB / 401.2 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007709/0.5568, allocations: 324.2 kB / 401.6 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008154/0.5576, allocations: 381.2 kB / 401.9 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.5576, allocations: 0 / 401.9 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.5577, allocations: 0 / 401.9 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.426e-05/0.5577, allocations: 27.67 kB / 401.9 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/0.5608, allocations: 1.635 MB / 403.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.5611, allocations: 85.33 kB / 403.7 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.5612, allocations: 35.53 kB / 403.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.5613, allocations: 0 / 403.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.5613, allocations: 33.69 kB / 403.7 MB, free: 5.887 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.5613, allocations: 0 / 403.7 MB, free: 5.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004446/0.5618, allocations: 107.5 kB / 403.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.5618, allocations: 51.41 kB / 403.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.5621, allocations: 201.5 kB / 404.1 MB, free: 5.543 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.5622, allocations: 25.7 kB / 404.1 MB, free: 5.512 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.5623, allocations: 246.4 kB / 404.4 MB, free: 5.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.5624, allocations: 26.77 kB / 404.4 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.5624, allocations: 0 / 404.4 MB, free: 5.262 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5626, allocations: 321.9 kB / 404.7 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.5627, allocations: 49.16 kB / 404.7 MB, free: 4.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.563, allocations: 103.9 kB / 404.8 MB, free: 4.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.5632, allocations: 70 kB / 404.9 MB, free: 4.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.5632, allocations: 7.938 kB / 404.9 MB, free: 4.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005433/0.5638, allocations: 186.6 kB / 405.1 MB, free: 4.562 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5638, allocations: 4 kB / 405.1 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.5638, allocations: 0 / 405.1 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.5638, allocations: 4 kB / 405.1 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/0.5665, allocations: 127.7 kB / 405.2 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.569, allocations: 1.84 MB / 407.1 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.5696, allocations: 35.77 kB / 407.1 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.5696, allocations: 7.5 kB / 407.1 MB, free: 2.508 MB / 330.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.0001548/0.5698, allocations: 112.9 kB / 407.2 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003706/0.5702, allocations: 100.2 kB / 407.3 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.5703, allocations: 19.06 kB / 407.3 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005666/0.5708, allocations: 158.4 kB / 407.5 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.5709, allocations: 4 kB / 407.5 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5709, allocations: 0 / 407.5 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.5709, allocations: 0 / 407.5 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.5714, allocations: 242.2 kB / 407.7 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5714, allocations: 0 / 407.7 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002149/0.5735, allocations: 99.86 kB / 407.8 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.5736, allocations: 7.938 kB / 407.8 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.5736, allocations: 0 / 407.8 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.5753, allocations: 1.794 MB / 409.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.5754, allocations: 0 / 409.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.5758, allocations: 236.5 kB / 409.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.65e-05/0.5759, allocations: 88.95 kB / 410 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.576, allocations: 0 / 410 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.5763, allocations: 16.14 kB / 410 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.5764, allocations: 11.36 kB / 410 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.5764, allocations: 0 / 410 MB, free: 15.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001975/0.5766, allocations: 151.7 kB / 410.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5766, allocations: 0 / 410.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000555/0.5772, allocations: 71.69 kB / 410.2 MB, free: 15.39 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.0008989/0.5781, allocations: 0.788 MB / 411 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.5804, allocations: 189.4 kB / 411.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5804, allocations: 0 / 411.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.5818, allocations: 92.34 kB / 411.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.5821, allocations: 8 kB / 411.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.5835, allocations: 415.8 kB / 411.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.5839, allocations: 0.7781 MB / 412.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.5841, allocations: 63.42 kB / 412.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5841, allocations: 0 / 412.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.77/3.354, allocations: 6.919 MB / 419.4 MB, free: 6.176 MB / 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