Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.976/1.976, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.591e-05, allocations: 0 / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.651/8.776, allocations: 2.797 GB / 3.112 GB, free: 88.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/8.776, allocations: 68.09 kB / 3.112 GB, free: 88.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.027/9.803, allocations: 206.2 MB / 3.313 GB, free: 45.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.865e-06/9.803, allocations: 0 / 3.313 GB, free: 45.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/9.803, allocations: 4 kB / 3.313 GB, free: 45.84 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.006053/9.809, allocations: 1.152 MB / 3.314 GB, free: 44.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/9.809, allocations: 8.031 kB / 3.314 GB, free: 44.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.53e-05/9.809, allocations: 58.34 kB / 3.314 GB, free: 44.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/9.809, allocations: 35.72 kB / 3.314 GB, free: 44.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/9.81, allocations: 219.8 kB / 3.314 GB, free: 44.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/9.81, allocations: 123.2 kB / 3.315 GB, free: 44.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/9.81, allocations: 24 kB / 3.315 GB, free: 44.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005832/9.811, allocations: 315.9 kB / 3.315 GB, free: 43.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/9.811, allocations: 0 / 3.315 GB, free: 43.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/9.811, allocations: 15.95 kB / 3.315 GB, free: 43.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/9.811, allocations: 4 kB / 3.315 GB, free: 43.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/9.812, allocations: 0.737 MB / 3.316 GB, free: 43.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/9.814, allocations: 1.223 MB / 3.317 GB, free: 42.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/9.814, allocations: 154.4 kB / 3.317 GB, free: 42.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/9.814, allocations: 81.12 kB / 3.317 GB, free: 41.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003513/9.818, allocations: 3.036 MB / 3.32 GB, free: 38.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/9.818, allocations: 46.48 kB / 3.32 GB, free: 38.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 3.276e-06/9.818, allocations: 0 / 3.32 GB, free: 38.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004744/9.818, allocations: 93.16 kB / 3.32 GB, free: 38.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/9.819, allocations: 51.41 kB / 3.32 GB, free: 38.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/9.819, allocations: 193.5 kB / 3.32 GB, free: 38.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/9.819, allocations: 29.7 kB / 3.32 GB, free: 38.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/9.819, allocations: 285 kB / 3.321 GB, free: 37.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/9.819, allocations: 47.36 kB / 3.321 GB, free: 37.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/9.819, allocations: 11.94 kB / 3.321 GB, free: 37.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.842e-05/9.819, allocations: 326.7 kB / 3.321 GB, free: 37.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/9.819, allocations: 44.81 kB / 3.321 GB, free: 37.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/9.82, allocations: 323.9 kB / 3.321 GB, free: 37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/9.82, allocations: 95.64 kB / 3.322 GB, free: 36.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/9.82, allocations: 4 kB / 3.322 GB, free: 36.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001019/9.821, allocations: 348.1 kB / 3.322 GB, free: 36.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/9.821, allocations: 8 kB / 3.322 GB, free: 36.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/9.821, allocations: 12 kB / 3.322 GB, free: 36.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.265e-05/9.821, allocations: 15.94 kB / 3.322 GB, free: 36.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/9.822, allocations: 100.3 kB / 3.322 GB, free: 36.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.068e-05/9.822, allocations: 19.88 kB / 3.322 GB, free: 36.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/9.823, allocations: 59.44 kB / 3.322 GB, free: 36.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/9.823, allocations: 31.75 kB / 3.322 GB, free: 36.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001448/9.823, allocations: 132.7 kB / 3.322 GB, free: 36.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-05/9.823, allocations: 19.77 kB / 3.322 GB, free: 36.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006451/9.824, allocations: 172.4 kB / 3.322 GB, free: 36.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/9.824, allocations: 0 / 3.322 GB, free: 36.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/9.824, allocations: 4 kB / 3.322 GB, free: 36.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/9.824, allocations: 8 kB / 3.322 GB, free: 36.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007993/9.825, allocations: 424.3 kB / 3.323 GB, free: 35.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/9.825, allocations: 0 / 3.323 GB, free: 35.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/9.825, allocations: 15.94 kB / 3.323 GB, free: 35.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/9.825, allocations: 4 kB / 3.323 GB, free: 35.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/9.825, allocations: 12 kB / 3.323 GB, free: 35.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/9.825, allocations: 7.938 kB / 3.323 GB, free: 35.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/9.825, allocations: 0 / 3.323 GB, free: 35.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/9.825, allocations: 257.1 kB / 3.323 GB, free: 35.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/9.825, allocations: 116.4 kB / 3.323 GB, free: 35.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/9.825, allocations: 7.953 kB / 3.323 GB, free: 35.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/9.826, allocations: 7.703 kB / 3.323 GB, free: 35.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/9.826, allocations: 11.94 kB / 3.323 GB, free: 35.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/9.826, allocations: 8 kB / 3.323 GB, free: 35.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002268/9.826, allocations: 151.6 kB / 3.323 GB, free: 34.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/9.826, allocations: 0 / 3.323 GB, free: 34.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001378/9.827, allocations: 119.9 kB / 3.324 GB, free: 34.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/9.829, allocations: 1.225 MB / 3.325 GB, free: 33.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005455/9.829, allocations: 150.1 kB / 3.325 GB, free: 33.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/9.829, allocations: 4.062 kB / 3.325 GB, free: 33.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.476e-05/9.829, allocations: 19.94 kB / 3.325 GB, free: 33.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007709/9.83, allocations: 52.28 kB / 3.325 GB, free: 33.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6434/10.47, allocations: 93.32 MB / 3.416 GB, free: 43.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/10.47, allocations: 0.7305 MB / 3.417 GB, free: 42.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/10.47, allocations: 64.27 kB / 3.417 GB, free: 42.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.793e-06/10.47, allocations: 0 / 3.417 GB, free: 42.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.46/12.93, allocations: 4.91 MB / 3.422 GB, free: 42.07 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat