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.705/1.705, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.266e-05/2.26e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2692, allocations: 38.76 MB / 258.3 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8515/1.121, allocations: 262.4 MB / 0.5085 GB, free: 109.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/1.121, allocations: 64 kB / 0.5086 GB, free: 109.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03284/1.154, allocations: 9.266 MB / 0.5177 GB, free: 108.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/1.154, allocations: 0 / 0.5177 GB, free: 108.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/1.154, allocations: 0 / 0.5177 GB, free: 108.4 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.001081/1.155, allocations: 460.6 kB / 0.5181 GB, free: 108 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.155, allocations: 7.719 kB / 0.5181 GB, free: 108 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002437/1.155, allocations: 26.95 kB / 0.5181 GB, free: 108 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/1.156, allocations: 204.3 kB / 0.5183 GB, free: 107.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/1.156, allocations: 3.906 kB / 0.5183 GB, free: 107.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/1.156, allocations: 7.812 kB / 0.5183 GB, free: 107.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003189/1.156, allocations: 110.9 kB / 0.5184 GB, free: 107.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/1.156, allocations: 192.1 kB / 0.5186 GB, free: 107.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/1.156, allocations: 0 / 0.5186 GB, free: 107.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/1.157, allocations: 0 / 0.5186 GB, free: 107.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.157, allocations: 3.812 kB / 0.5186 GB, free: 107.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/1.158, allocations: 0.9016 MB / 0.5195 GB, free: 107 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/1.158, allocations: 117.6 kB / 0.5196 GB, free: 106.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/1.159, allocations: 46.38 kB / 0.5197 GB, free: 106.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006291/1.159, allocations: 0.5099 MB / 0.5202 GB, free: 106.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.159, allocations: 34.5 kB / 0.5202 GB, free: 106.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.895e-06/1.159, allocations: 0 / 0.5202 GB, free: 106.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002681/1.162, allocations: 0.5968 MB / 0.5208 GB, free: 106.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/1.162, allocations: 59.08 kB / 0.5208 GB, free: 106 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/1.162, allocations: 136.5 kB / 0.521 GB, free: 105.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/1.162, allocations: 25.7 kB / 0.521 GB, free: 105.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/1.162, allocations: 142.2 kB / 0.5211 GB, free: 105.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/1.162, allocations: 65.5 kB / 0.5212 GB, free: 105.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/1.162, allocations: 0 / 0.5212 GB, free: 105.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.995e-05/1.162, allocations: 329.4 kB / 0.5215 GB, free: 105.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/1.163, allocations: 56.31 kB / 0.5216 GB, free: 105.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/1.163, allocations: 165.9 kB / 0.5217 GB, free: 105.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/1.163, allocations: 84.97 kB / 0.5218 GB, free: 105.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.163, allocations: 0 / 0.5218 GB, free: 105.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006116/1.164, allocations: 256.3 kB / 0.522 GB, free: 105.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.164, allocations: 11.69 kB / 0.5221 GB, free: 105.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.164, allocations: 3.719 kB / 0.5221 GB, free: 105.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/1.164, allocations: 7.812 kB / 0.5221 GB, free: 105.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/1.165, allocations: 77.88 kB / 0.5221 GB, free: 105.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.165, allocations: 11.72 kB / 0.5221 GB, free: 105.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/1.165, allocations: 11.78 kB / 0.5222 GB, free: 105.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/1.165, allocations: 18.83 kB / 0.5222 GB, free: 105.2 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.0001105/1.165, allocations: 112.8 kB / 0.5223 GB, free: 105.1 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004604/1.166, allocations: 165.3 kB / 0.5224 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/1.166, allocations: 15 kB / 0.5225 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005788/1.166, allocations: 188.8 kB / 0.5226 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.166, allocations: 0 / 0.5226 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.166, allocations: 7.938 kB / 0.5226 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.166, allocations: 7.734 kB / 0.5227 GB, free: 105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/1.168, allocations: 0.511 MB / 0.5232 GB, free: 104.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/1.168, allocations: 3.797 kB / 0.5232 GB, free: 104.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/1.168, allocations: 50.69 kB / 0.5232 GB, free: 104.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/1.168, allocations: 3.984 kB / 0.5232 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/1.168, allocations: 11.2 kB / 0.5232 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.168, allocations: 3.906 kB / 0.5232 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.168, allocations: 0 / 0.5232 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/1.169, allocations: 388.8 kB / 0.5236 GB, free: 104.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/1.169, allocations: 88.83 kB / 0.5237 GB, free: 104.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/1.169, allocations: 3.797 kB / 0.5237 GB, free: 104.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/1.169, allocations: 11.67 kB / 0.5237 GB, free: 104.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/1.169, allocations: 15.17 kB / 0.5237 GB, free: 104.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/1.17, allocations: 3.906 kB / 0.5237 GB, free: 104.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.728e-05/1.17, allocations: 109.3 kB / 0.5238 GB, free: 104.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.17, allocations: 7.969 kB / 0.5238 GB, free: 104.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000583/1.17, allocations: 58.14 kB / 0.5239 GB, free: 104.2 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.001014/1.171, allocations: 1.24 MB / 0.5251 GB, free: 103.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004331/1.172, allocations: 159.2 kB / 0.5252 GB, free: 103.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.172, allocations: 0.9375 kB / 0.5252 GB, free: 103.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/1.172, allocations: 79.91 kB / 0.5253 GB, free: 103.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/1.172, allocations: 30.22 kB / 0.5253 GB, free: 103.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/1.174, allocations: 329.4 kB / 0.5257 GB, free: 102.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/1.174, allocations: 0.7177 MB / 0.5264 GB, free: 102.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004519/1.174, allocations: 52.5 kB / 0.5264 GB, free: 102.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/1.174, allocations: 47.5 kB / 0.5265 GB, free: 102.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.974e-06/1.175, allocations: 4 kB / 0.5265 GB, free: 102.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04248/1.217, allocations: 3.915 MB / 0.5303 GB, free: 101.9 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/1.217, allocations: 138 kB / 0.5304 GB, free: 101.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/3.473, allocations: 3.938 kB / 0.5304 GB, free: 101.7 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