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.633/1.633, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.143e-05, allocations: 4 kB / 225.1 MB, free: 2.621 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2573, allocations: 38.76 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.87/1.127, allocations: 263.1 MB / 0.5146 GB, free: 103.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/1.128, allocations: 69.48 kB / 0.5146 GB, free: 103.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03281/1.16, allocations: 9.342 MB / 0.5238 GB, free: 102.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/1.161, allocations: 0 / 0.5238 GB, free: 102.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/1.161, allocations: 0 / 0.5238 GB, free: 102.1 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.001161/1.162, allocations: 454.9 kB / 0.5242 GB, free: 101.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/1.162, allocations: 11.62 kB / 0.5242 GB, free: 101.7 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.211e-05/1.162, allocations: 45.5 kB / 0.5242 GB, free: 101.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/1.162, allocations: 26.94 kB / 0.5243 GB, free: 101.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/1.162, allocations: 206.2 kB / 0.5245 GB, free: 101.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/1.163, allocations: 10.56 kB / 0.5245 GB, free: 101.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/1.163, allocations: 15.09 kB / 0.5245 GB, free: 101.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/1.163, allocations: 203.2 kB / 0.5247 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/1.163, allocations: 7.844 kB / 0.5247 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/1.163, allocations: 7.094 kB / 0.5247 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/1.163, allocations: 3.969 kB / 0.5247 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/1.163, allocations: 118.4 kB / 0.5248 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/1.165, allocations: 0.947 MB / 0.5257 GB, free: 100.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/1.166, allocations: 131.8 kB / 0.5259 GB, free: 100.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/1.166, allocations: 42.53 kB / 0.5259 GB, free: 100.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007036/1.166, allocations: 0.5133 MB / 0.5264 GB, free: 100.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/1.167, allocations: 33.88 kB / 0.5264 GB, free: 100 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/1.167, allocations: 4 kB / 0.5264 GB, free: 100 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002579/1.169, allocations: 0.6441 MB / 0.5271 GB, free: 99.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/1.169, allocations: 51.41 kB / 0.5271 GB, free: 99.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/1.169, allocations: 147 kB / 0.5273 GB, free: 99.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/1.169, allocations: 29.55 kB / 0.5273 GB, free: 99.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/1.169, allocations: 204.1 kB / 0.5275 GB, free: 99.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/1.17, allocations: 76 kB / 0.5276 GB, free: 99.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/1.17, allocations: 7.125 kB / 0.5276 GB, free: 99.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.224e-05/1.17, allocations: 325.8 kB / 0.5279 GB, free: 98.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/1.17, allocations: 70.7 kB / 0.5279 GB, free: 98.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/1.17, allocations: 169 kB / 0.5281 GB, free: 98.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/1.17, allocations: 86.92 kB / 0.5282 GB, free: 98.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.17, allocations: 3.844 kB / 0.5282 GB, free: 98.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005998/1.171, allocations: 274.2 kB / 0.5285 GB, free: 98.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.171, allocations: 11.42 kB / 0.5285 GB, free: 98.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.171, allocations: 0 / 0.5285 GB, free: 98.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/1.171, allocations: 7.812 kB / 0.5285 GB, free: 98.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/1.172, allocations: 76.8 kB / 0.5285 GB, free: 98.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/1.172, allocations: 11.45 kB / 0.5286 GB, free: 98.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/1.172, allocations: 27.28 kB / 0.5286 GB, free: 98.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/1.172, allocations: 19.25 kB / 0.5286 GB, free: 98.74 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.0001004/1.172, allocations: 119.8 kB / 0.5287 GB, free: 98.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/1.172, allocations: 11.72 kB / 0.5287 GB, free: 98.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/1.173, allocations: 204.4 kB / 0.5289 GB, free: 98.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/1.173, allocations: 3.906 kB / 0.5289 GB, free: 98.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.173, allocations: 0 / 0.5289 GB, free: 98.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.173, allocations: 7.703 kB / 0.5289 GB, free: 98.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/1.174, allocations: 0.5587 MB / 0.5295 GB, free: 98.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.174, allocations: 0 / 0.5295 GB, free: 98.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/1.175, allocations: 60.83 kB / 0.5295 GB, free: 98.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/1.175, allocations: 0 / 0.5295 GB, free: 98.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/1.175, allocations: 14.17 kB / 0.5295 GB, free: 98.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.175, allocations: 3.906 kB / 0.5296 GB, free: 98.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.175, allocations: 3.938 kB / 0.5296 GB, free: 98.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/1.176, allocations: 397.4 kB / 0.5299 GB, free: 97.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/1.176, allocations: 91.33 kB / 0.53 GB, free: 97.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/1.176, allocations: 10.59 kB / 0.53 GB, free: 97.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/1.176, allocations: 13.2 kB / 0.53 GB, free: 97.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/1.176, allocations: 17.2 kB / 0.5301 GB, free: 97.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/1.176, allocations: 14.19 kB / 0.5301 GB, free: 97.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.064e-05/1.176, allocations: 109.1 kB / 0.5302 GB, free: 97.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/1.176, allocations: 0 / 0.5302 GB, free: 97.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005563/1.177, allocations: 69.22 kB / 0.5302 GB, free: 97.77 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.0009713/1.178, allocations: 1.252 MB / 0.5315 GB, free: 96.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004677/1.178, allocations: 173.3 kB / 0.5316 GB, free: 96.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.178, allocations: 3.188 kB / 0.5316 GB, free: 96.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/1.178, allocations: 80.3 kB / 0.5317 GB, free: 96.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/1.179, allocations: 30.95 kB / 0.5317 GB, free: 96.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/1.18, allocations: 374.4 kB / 0.5321 GB, free: 96.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/1.18, allocations: 0.7262 MB / 0.5328 GB, free: 95.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/1.181, allocations: 53.09 kB / 0.5329 GB, free: 95.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/1.181, allocations: 3.938 kB / 0.5329 GB, free: 95.72 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.497/3.678, allocations: 3.328 MB / 0.5361 GB, free: 95.43 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