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.675/1.675, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.202e-05/2.214e-05, allocations: 8 kB / 219.5 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2579, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.809/1.067, allocations: 262.4 MB / 0.5085 GB, free: 109.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/1.067, allocations: 66.45 kB / 0.5086 GB, free: 109.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03209/1.099, allocations: 9.269 MB / 0.5176 GB, free: 108.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/1.099, allocations: 0 / 0.5176 GB, free: 108.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/1.099, allocations: 7.938 kB / 0.5176 GB, free: 108.7 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.001026/1.1, allocations: 449.4 kB / 0.5181 GB, free: 108.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.1, allocations: 7.844 kB / 0.5181 GB, free: 108.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/1.101, allocations: 26.89 kB / 0.5181 GB, free: 108.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/1.101, allocations: 204.1 kB / 0.5183 GB, free: 108.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/1.101, allocations: 3.906 kB / 0.5183 GB, free: 108.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/1.101, allocations: 19.59 kB / 0.5183 GB, free: 108.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000302/1.101, allocations: 109.3 kB / 0.5184 GB, free: 108.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/1.102, allocations: 182.9 kB / 0.5186 GB, free: 108 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/1.102, allocations: 0 / 0.5186 GB, free: 108 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/1.102, allocations: 0 / 0.5186 GB, free: 108 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/1.102, allocations: 3.906 kB / 0.5186 GB, free: 108 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/1.103, allocations: 0.9058 MB / 0.5195 GB, free: 107.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/1.103, allocations: 116.1 kB / 0.5196 GB, free: 107.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.285e-05/1.104, allocations: 43.92 kB / 0.5196 GB, free: 107.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005829/1.104, allocations: 0.5107 MB / 0.5201 GB, free: 106.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/1.104, allocations: 38.47 kB / 0.5202 GB, free: 106.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/1.104, allocations: 0 / 0.5202 GB, free: 106.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002541/1.107, allocations: 0.6017 MB / 0.5208 GB, free: 106.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/1.107, allocations: 55.31 kB / 0.5208 GB, free: 106.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/1.107, allocations: 137.5 kB / 0.5209 GB, free: 106.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/1.107, allocations: 25.7 kB / 0.521 GB, free: 106.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/1.107, allocations: 204.9 kB / 0.5212 GB, free: 106.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/1.107, allocations: 72.66 kB / 0.5212 GB, free: 106 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/1.107, allocations: 0 / 0.5212 GB, free: 106 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.456e-05/1.107, allocations: 329.4 kB / 0.5215 GB, free: 105.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/1.107, allocations: 56.16 kB / 0.5216 GB, free: 105.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/1.108, allocations: 168 kB / 0.5218 GB, free: 105.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/1.108, allocations: 74.78 kB / 0.5218 GB, free: 105.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.108, allocations: 3.906 kB / 0.5218 GB, free: 105.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005782/1.108, allocations: 256.7 kB / 0.5221 GB, free: 105.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.109, allocations: 3.906 kB / 0.5221 GB, free: 105.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.109, allocations: 3.906 kB / 0.5221 GB, free: 105.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/1.109, allocations: 11.66 kB / 0.5221 GB, free: 105.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/1.109, allocations: 79.25 kB / 0.5222 GB, free: 105.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.109, allocations: 7.906 kB / 0.5222 GB, free: 105.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/1.11, allocations: 19.41 kB / 0.5222 GB, free: 105.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/1.11, allocations: 14.77 kB / 0.5222 GB, free: 105.5 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 9.67e-05/1.11, allocations: 116.4 kB / 0.5223 GB, free: 105.4 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004164/1.11, allocations: 159.9 kB / 0.5225 GB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/1.11, allocations: 18.97 kB / 0.5225 GB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005657/1.111, allocations: 184.8 kB / 0.5227 GB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/1.111, allocations: 3.906 kB / 0.5227 GB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.111, allocations: 0 / 0.5227 GB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.111, allocations: 7.234 kB / 0.5227 GB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/1.112, allocations: 0.5085 MB / 0.5232 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.112, allocations: 0 / 0.5232 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/1.113, allocations: 57.73 kB / 0.5232 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.113, allocations: 0 / 0.5232 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/1.113, allocations: 15.09 kB / 0.5233 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.113, allocations: 3.938 kB / 0.5233 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.113, allocations: 0 / 0.5233 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/1.113, allocations: 393.3 kB / 0.5236 GB, free: 104.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/1.114, allocations: 88.83 kB / 0.5237 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/1.114, allocations: 6.688 kB / 0.5237 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/1.114, allocations: 15.86 kB / 0.5237 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/1.114, allocations: 11.61 kB / 0.5237 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/1.114, allocations: 7.75 kB / 0.5238 GB, free: 104.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.971e-05/1.114, allocations: 105.5 kB / 0.5239 GB, free: 104.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.114, allocations: 0 / 0.5239 GB, free: 104.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005639/1.115, allocations: 62.59 kB / 0.5239 GB, free: 104.5 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.0009415/1.116, allocations: 1.244 MB / 0.5251 GB, free: 103.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003941/1.116, allocations: 160.9 kB / 0.5253 GB, free: 103.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.116, allocations: 0 / 0.5253 GB, free: 103.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/1.116, allocations: 75.75 kB / 0.5254 GB, free: 103.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/1.117, allocations: 35.8 kB / 0.5254 GB, free: 103.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/1.118, allocations: 349.3 kB / 0.5257 GB, free: 103.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/1.118, allocations: 0.7222 MB / 0.5264 GB, free: 102.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/1.118, allocations: 50.25 kB / 0.5265 GB, free: 102.5 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/1.118, allocations: 3.906 kB / 0.5265 GB, free: 102.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.456/3.574, allocations: 3.337 MB / 0.5297 GB, free: 102.2 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