Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.72/1.72, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.49e-05, allocations: 4 kB / 225.1 MB, free: 2.211 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2743, allocations: 38.76 MB / 263.8 MB, free: 9.684 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8675/1.142, allocations: 263.1 MB / 0.5146 GB, free: 103.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/1.142, allocations: 65.84 kB / 0.5146 GB, free: 103.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0327/1.175, allocations: 9.332 MB / 0.5238 GB, free: 102 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/1.175, allocations: 0 / 0.5238 GB, free: 102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/1.175, allocations: 3.906 kB / 0.5238 GB, free: 102 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.001105/1.176, allocations: 449.1 kB / 0.5242 GB, free: 101.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/1.176, allocations: 9.562 kB / 0.5242 GB, free: 101.6 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/1.176, allocations: 52.02 kB / 0.5242 GB, free: 101.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/1.176, allocations: 20.59 kB / 0.5243 GB, free: 101.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/1.177, allocations: 210.7 kB / 0.5245 GB, free: 101.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/1.177, allocations: 11.34 kB / 0.5245 GB, free: 101.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/1.177, allocations: 18.19 kB / 0.5245 GB, free: 101.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/1.177, allocations: 205.7 kB / 0.5247 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.177, allocations: 4 kB / 0.5247 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/1.177, allocations: 7.125 kB / 0.5247 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/1.177, allocations: 3.219 kB / 0.5247 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/1.178, allocations: 126 kB / 0.5248 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/1.179, allocations: 0.9364 MB / 0.5257 GB, free: 100.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/1.18, allocations: 134.9 kB / 0.5259 GB, free: 100.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/1.18, allocations: 53.72 kB / 0.5259 GB, free: 100.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006149/1.18, allocations: 0.5046 MB / 0.5264 GB, free: 100 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/1.18, allocations: 34.44 kB / 0.5264 GB, free: 99.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.765e-06/1.18, allocations: 0 / 0.5264 GB, free: 99.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002614/1.183, allocations: 0.6404 MB / 0.5271 GB, free: 99.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/1.183, allocations: 62.91 kB / 0.5271 GB, free: 99.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/1.183, allocations: 147.2 kB / 0.5273 GB, free: 99.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/1.183, allocations: 29.2 kB / 0.5273 GB, free: 99.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/1.183, allocations: 133.5 kB / 0.5274 GB, free: 99.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/1.184, allocations: 77.77 kB / 0.5275 GB, free: 99.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/1.184, allocations: 7.25 kB / 0.5275 GB, free: 99.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.764e-05/1.184, allocations: 325.4 kB / 0.5278 GB, free: 98.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/1.184, allocations: 63.58 kB / 0.5279 GB, free: 98.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/1.184, allocations: 169.5 kB / 0.528 GB, free: 98.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/1.184, allocations: 91.94 kB / 0.5281 GB, free: 98.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.184, allocations: 0 / 0.5281 GB, free: 98.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006304/1.185, allocations: 293.6 kB / 0.5284 GB, free: 98.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.185, allocations: 7.5 kB / 0.5284 GB, free: 98.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.185, allocations: 3.844 kB / 0.5284 GB, free: 98.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/1.185, allocations: 7.375 kB / 0.5284 GB, free: 98.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/1.186, allocations: 82.78 kB / 0.5285 GB, free: 98.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/1.186, allocations: 3.906 kB / 0.5285 GB, free: 98.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/1.186, allocations: 23.16 kB / 0.5285 GB, free: 98.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/1.186, allocations: 19.36 kB / 0.5285 GB, free: 98.75 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.0001148/1.186, allocations: 127.1 kB / 0.5287 GB, free: 98.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/1.186, allocations: 19.41 kB / 0.5287 GB, free: 98.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005887/1.187, allocations: 200.2 kB / 0.5289 GB, free: 98.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.187, allocations: 3.906 kB / 0.5289 GB, free: 98.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.187, allocations: 0 / 0.5289 GB, free: 98.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.187, allocations: 0 / 0.5289 GB, free: 98.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/1.188, allocations: 0.5682 MB / 0.5294 GB, free: 98.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.189, allocations: 0 / 0.5294 GB, free: 98.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005136/1.189, allocations: 50.64 kB / 0.5295 GB, free: 98.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/1.189, allocations: 3.938 kB / 0.5295 GB, free: 98.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/1.189, allocations: 15.42 kB / 0.5295 GB, free: 98.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.189, allocations: 0 / 0.5295 GB, free: 98.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.189, allocations: 3.906 kB / 0.5295 GB, free: 98.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006555/1.19, allocations: 406.2 kB / 0.5299 GB, free: 97.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/1.19, allocations: 88.72 kB / 0.53 GB, free: 97.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/1.19, allocations: 7.531 kB / 0.53 GB, free: 97.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/1.19, allocations: 10.86 kB / 0.53 GB, free: 97.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/1.19, allocations: 14.27 kB / 0.53 GB, free: 97.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/1.19, allocations: 14.69 kB / 0.53 GB, free: 97.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.866e-05/1.191, allocations: 109.1 kB / 0.5301 GB, free: 97.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/1.191, allocations: 0 / 0.5301 GB, free: 97.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000529/1.191, allocations: 69.91 kB / 0.5302 GB, free: 97.78 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.00104/1.192, allocations: 1.251 MB / 0.5314 GB, free: 96.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005038/1.193, allocations: 188.9 kB / 0.5316 GB, free: 96.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.193, allocations: 0 / 0.5316 GB, free: 96.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/1.193, allocations: 78.62 kB / 0.5317 GB, free: 96.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/1.193, allocations: 38.64 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.00125/1.195, allocations: 350 kB / 0.532 GB, free: 96.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/1.195, allocations: 0.7265 MB / 0.5328 GB, free: 95.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004369/1.195, allocations: 49.28 kB / 0.5328 GB, free: 95.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/1.195, allocations: 55.84 kB / 0.5329 GB, free: 95.74 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/1.195, allocations: 0 / 0.5329 GB, free: 95.74 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/1.227, allocations: 4.463 MB / 0.5372 GB, free: 95.06 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/1.228, allocations: 146.8 kB / 0.5373 GB, free: 94.83 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.643, allocations: 0 / 0.5373 GB, free: 94.83 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat