Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.533/2.533, allocations: 235 MB / 247.6 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.248e-05/4.254e-05, allocations: 4 kB / 305 MB, free: 5.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4381, allocations: 54.86 MB / 359.9 MB, free: 2.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.633, allocations: 369.9 MB / 0.7126 GB, free: 146.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.633, allocations: 73.55 kB / 0.7127 GB, free: 146.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06888/1.702, allocations: 18.77 MB / 0.731 GB, free: 145.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.702, allocations: 3.906 kB / 0.731 GB, free: 145.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/1.702, allocations: 0 / 0.731 GB, free: 145.2 MB / 490.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.001347/1.704, allocations: 0.5676 MB / 0.7316 GB, free: 144.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.704, allocations: 7.875 kB / 0.7316 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.187e-05/1.704, allocations: 57.23 kB / 0.7316 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/1.704, allocations: 31.42 kB / 0.7317 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/1.704, allocations: 231.4 kB / 0.7319 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/1.704, allocations: 125.9 kB / 0.732 GB, free: 144.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/1.705, allocations: 23.31 kB / 0.732 GB, free: 144.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/1.705, allocations: 311.8 kB / 0.7323 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/1.705, allocations: 0 / 0.7323 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/1.705, allocations: 15.16 kB / 0.7323 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/1.705, allocations: 11.77 kB / 0.7324 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009701/1.706, allocations: 0.7197 MB / 0.7331 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/1.708, allocations: 1.228 MB / 0.7343 GB, free: 143.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/1.708, allocations: 152.9 kB / 0.7344 GB, free: 143.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/1.708, allocations: 79.86 kB / 0.7345 GB, free: 143.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003032/1.711, allocations: 3.022 MB / 0.7374 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/1.712, allocations: 34.19 kB / 0.7375 GB, free: 140.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 2.384e-06/1.712, allocations: 0 / 0.7375 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003369/1.712, allocations: 107 kB / 0.7376 GB, free: 140.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/1.712, allocations: 51.41 kB / 0.7376 GB, free: 140.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/1.712, allocations: 192.7 kB / 0.7378 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/1.712, allocations: 33.08 kB / 0.7378 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.712, allocations: 274.6 kB / 0.7381 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/1.712, allocations: 57.22 kB / 0.7381 GB, free: 140 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/1.712, allocations: 7.594 kB / 0.7381 GB, free: 140 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/1.712, allocations: 325.2 kB / 0.7385 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/1.713, allocations: 46.66 kB / 0.7385 GB, free: 139.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/1.713, allocations: 333 kB / 0.7388 GB, free: 139.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/1.713, allocations: 99.33 kB / 0.7389 GB, free: 139.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.713, allocations: 0 / 0.7389 GB, free: 139.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006893/1.714, allocations: 340.8 kB / 0.7392 GB, free: 139.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.714, allocations: 13.52 kB / 0.7393 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/1.714, allocations: 11.72 kB / 0.7393 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/1.714, allocations: 15.59 kB / 0.7393 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/1.714, allocations: 103.1 kB / 0.7394 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/1.714, allocations: 15.66 kB / 0.7394 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/1.715, allocations: 53.94 kB / 0.7394 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/1.715, allocations: 29.97 kB / 0.7395 GB, free: 139.1 MB / 490.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 9.502e-05/1.715, allocations: 139.4 kB / 0.7396 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/1.715, allocations: 19.47 kB / 0.7396 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/1.715, allocations: 170.7 kB / 0.7398 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/1.715, allocations: 3.984 kB / 0.7398 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.715, allocations: 0 / 0.7398 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.715, allocations: 3 kB / 0.7398 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/1.716, allocations: 433.5 kB / 0.7402 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.716, allocations: 0 / 0.7402 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/1.716, allocations: 11.62 kB / 0.7402 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/1.716, allocations: 7.781 kB / 0.7402 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/1.716, allocations: 3.5 kB / 0.7402 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/1.716, allocations: 11.78 kB / 0.7402 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.716, allocations: 0 / 0.7402 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/1.717, allocations: 258.6 kB / 0.7405 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/1.717, allocations: 115.2 kB / 0.7406 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/1.717, allocations: 3.906 kB / 0.7406 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/1.717, allocations: 11.36 kB / 0.7406 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/1.717, allocations: 11.64 kB / 0.7406 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/1.717, allocations: 3.906 kB / 0.7406 GB, free: 138.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001349/1.717, allocations: 152.9 kB / 0.7408 GB, free: 138.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.717, allocations: 0 / 0.7408 GB, free: 138.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007128/1.718, allocations: 92.5 kB / 0.7409 GB, free: 138.1 MB / 490.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.0006843/1.719, allocations: 1.131 MB / 0.742 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004072/1.719, allocations: 148.6 kB / 0.7421 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.719, allocations: 0 / 0.7421 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.024e-05/1.719, allocations: 31.55 kB / 0.7421 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/1.72, allocations: 42.02 kB / 0.7422 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/1.736, allocations: 4.786 MB / 0.7469 GB, free: 136.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/1.736, allocations: 0.7272 MB / 0.7476 GB, free: 135.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/1.736, allocations: 64.03 kB / 0.7476 GB, free: 135.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.163e-06/1.736, allocations: 4 kB / 0.7476 GB, free: 135.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.424/4.16, allocations: 4.021 MB / 0.7516 GB, free: 134.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat