Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.642/1.642, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.092e-05, allocations: 3.984 kB / 225.1 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2619, allocations: 38.76 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8525/1.114, allocations: 263.1 MB / 0.5145 GB, free: 103.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/1.115, allocations: 62.02 kB / 0.5146 GB, free: 103.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03461/1.149, allocations: 9.345 MB / 0.5237 GB, free: 102.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.532e-06/1.149, allocations: 0 / 0.5237 GB, free: 102.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/1.149, allocations: 3.875 kB / 0.5237 GB, free: 102.2 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001084/1.151, allocations: 463 kB / 0.5242 GB, free: 101.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.151, allocations: 7.625 kB / 0.5242 GB, free: 101.8 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.056e-05/1.151, allocations: 44.91 kB / 0.5242 GB, free: 101.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/1.151, allocations: 21.66 kB / 0.5242 GB, free: 101.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/1.151, allocations: 207.4 kB / 0.5244 GB, free: 101.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/1.151, allocations: 7.719 kB / 0.5245 GB, free: 101.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/1.151, allocations: 18.58 kB / 0.5245 GB, free: 101.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/1.152, allocations: 207.5 kB / 0.5247 GB, free: 101.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/1.152, allocations: 0 / 0.5247 GB, free: 101.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/1.152, allocations: 16.64 kB / 0.5247 GB, free: 101.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/1.152, allocations: 3.781 kB / 0.5247 GB, free: 101.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/1.152, allocations: 118.9 kB / 0.5248 GB, free: 101.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/1.154, allocations: 0.9458 MB / 0.5257 GB, free: 100.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/1.154, allocations: 128.5 kB / 0.5258 GB, free: 100.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/1.154, allocations: 42.11 kB / 0.5259 GB, free: 100.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006643/1.155, allocations: 0.5095 MB / 0.5264 GB, free: 100.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/1.155, allocations: 33.78 kB / 0.5264 GB, free: 100.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.184e-06/1.155, allocations: 4 kB / 0.5264 GB, free: 100.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002739/1.158, allocations: 0.6397 MB / 0.527 GB, free: 99.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/1.158, allocations: 54.62 kB / 0.5271 GB, free: 99.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/1.158, allocations: 148.4 kB / 0.5272 GB, free: 99.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/1.158, allocations: 29.2 kB / 0.5273 GB, free: 99.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/1.158, allocations: 203.6 kB / 0.5275 GB, free: 99.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/1.158, allocations: 75.58 kB / 0.5275 GB, free: 99.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/1.158, allocations: 3.75 kB / 0.5275 GB, free: 99.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.253e-05/1.159, allocations: 325.8 kB / 0.5278 GB, free: 99.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/1.159, allocations: 70.55 kB / 0.5279 GB, free: 99.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/1.159, allocations: 171.7 kB / 0.5281 GB, free: 98.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/1.159, allocations: 86.83 kB / 0.5282 GB, free: 98.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.159, allocations: 0 / 0.5282 GB, free: 98.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006236/1.16, allocations: 288.9 kB / 0.5284 GB, free: 98.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.16, allocations: 7.562 kB / 0.5284 GB, free: 98.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.16, allocations: 3.875 kB / 0.5284 GB, free: 98.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/1.16, allocations: 3.844 kB / 0.5285 GB, free: 98.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/1.161, allocations: 79.58 kB / 0.5285 GB, free: 98.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/1.161, allocations: 22.72 kB / 0.5286 GB, free: 98.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/1.161, allocations: 23.02 kB / 0.5286 GB, free: 98.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.834e-05/1.161, allocations: 18.95 kB / 0.5286 GB, free: 98.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * 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.0001152/1.161, allocations: 116.1 kB / 0.5287 GB, free: 98.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/1.161, allocations: 11.53 kB / 0.5287 GB, free: 98.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006114/1.162, allocations: 210.3 kB / 0.5289 GB, free: 98.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.162, allocations: 0 / 0.5289 GB, free: 98.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.162, allocations: 3.219 kB / 0.5289 GB, free: 98.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/1.162, allocations: 0 / 0.5289 GB, free: 98.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/1.163, allocations: 0.5702 MB / 0.5295 GB, free: 98.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/1.163, allocations: 0 / 0.5295 GB, free: 98.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/1.164, allocations: 57.59 kB / 0.5295 GB, free: 98.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/1.164, allocations: 0 / 0.5295 GB, free: 98.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/1.164, allocations: 11.45 kB / 0.5295 GB, free: 98.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/1.164, allocations: 3.625 kB / 0.5295 GB, free: 98.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.164, allocations: 7.781 kB / 0.5296 GB, free: 98.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/1.165, allocations: 390.8 kB / 0.5299 GB, free: 98.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/1.165, allocations: 100.1 kB / 0.53 GB, free: 98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/1.165, allocations: 0 / 0.53 GB, free: 98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/1.165, allocations: 18.86 kB / 0.53 GB, free: 97.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/1.165, allocations: 18.91 kB / 0.5301 GB, free: 97.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/1.165, allocations: 15.66 kB / 0.5301 GB, free: 97.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.526e-05/1.166, allocations: 112.7 kB / 0.5302 GB, free: 97.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.166, allocations: 0 / 0.5302 GB, free: 97.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005351/1.166, allocations: 66.34 kB / 0.5302 GB, free: 97.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * 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.001069/1.167, allocations: 1.257 MB / 0.5315 GB, free: 96.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005124/1.168, allocations: 181.6 kB / 0.5316 GB, free: 96.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.168, allocations: 0 / 0.5316 GB, free: 96.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/1.168, allocations: 80.91 kB / 0.5317 GB, free: 96.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/1.168, allocations: 35.66 kB / 0.5318 GB, free: 96.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/1.17, allocations: 373 kB / 0.5321 GB, free: 96.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/1.17, allocations: 0.7184 MB / 0.5328 GB, free: 95.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/1.17, allocations: 52.3 kB / 0.5329 GB, free: 95.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/1.17, allocations: 3.938 kB / 0.5329 GB, free: 95.85 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.474/3.644, allocations: 3.332 MB / 0.5361 GB, free: 95.56 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat