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.869/1.869, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.577e-05/3.577e-05, allocations: 4 kB / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2978, allocations: 38.77 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9343/1.232, allocations: 263.1 MB / 0.5146 GB, free: 103.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/1.233, allocations: 65.3 kB / 0.5147 GB, free: 103.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03339/1.266, allocations: 9.342 MB / 0.5238 GB, free: 102.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.266, allocations: 0 / 0.5238 GB, free: 102.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/1.266, allocations: 3.75 kB / 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.001121/1.267, allocations: 447.2 kB / 0.5242 GB, free: 101.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.267, allocations: 10.38 kB / 0.5242 GB, free: 101.7 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.266e-05/1.267, allocations: 50.75 kB / 0.5243 GB, free: 101.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/1.268, allocations: 22.64 kB / 0.5243 GB, free: 101.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/1.268, allocations: 203.8 kB / 0.5245 GB, free: 101.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/1.268, allocations: 10.89 kB / 0.5245 GB, free: 101.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/1.268, allocations: 22.69 kB / 0.5245 GB, free: 101.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/1.268, allocations: 197.7 kB / 0.5247 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/1.268, allocations: 3.812 kB / 0.5247 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/1.268, allocations: 7.062 kB / 0.5247 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.268, allocations: 3.875 kB / 0.5247 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/1.269, allocations: 128.6 kB / 0.5249 GB, free: 101.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/1.27, allocations: 0.9437 MB / 0.5258 GB, free: 100.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/1.271, allocations: 125.8 kB / 0.5259 GB, free: 100.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/1.271, allocations: 45.78 kB / 0.5259 GB, free: 100.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006305/1.271, allocations: 0.5098 MB / 0.5264 GB, free: 100.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/1.272, allocations: 42 kB / 0.5265 GB, free: 100 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.725e-06/1.272, allocations: 0 / 0.5265 GB, free: 100 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002606/1.274, allocations: 0.6333 MB / 0.5271 GB, free: 99.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/1.274, allocations: 55.09 kB / 0.5271 GB, free: 99.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/1.274, allocations: 149.7 kB / 0.5273 GB, free: 99.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/1.274, allocations: 25.7 kB / 0.5273 GB, free: 99.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/1.274, allocations: 138.8 kB / 0.5274 GB, free: 99.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/1.275, allocations: 74.98 kB / 0.5275 GB, free: 99.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/1.275, allocations: 7.062 kB / 0.5275 GB, free: 99.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.212e-05/1.275, allocations: 325.3 kB / 0.5278 GB, free: 99.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/1.275, allocations: 67.47 kB / 0.5279 GB, free: 99.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/1.275, allocations: 172.1 kB / 0.5281 GB, free: 98.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/1.275, allocations: 88.14 kB / 0.5281 GB, free: 98.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.275, allocations: 0 / 0.5281 GB, free: 98.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006094/1.276, allocations: 281.3 kB / 0.5284 GB, free: 98.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.276, allocations: 3.719 kB / 0.5284 GB, free: 98.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/1.276, allocations: 3.906 kB / 0.5284 GB, free: 98.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/1.276, allocations: 7.719 kB / 0.5284 GB, free: 98.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/1.277, allocations: 85 kB / 0.5285 GB, free: 98.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/1.277, allocations: 11.84 kB / 0.5285 GB, free: 98.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/1.277, allocations: 23.02 kB / 0.5285 GB, free: 98.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/1.277, allocations: 23.41 kB / 0.5286 GB, free: 98.8 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.0001052/1.277, allocations: 120.3 kB / 0.5287 GB, free: 98.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/1.277, allocations: 15.5 kB / 0.5287 GB, free: 98.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005823/1.278, allocations: 206.3 kB / 0.5289 GB, free: 98.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.278, allocations: 4 kB / 0.5289 GB, free: 98.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.278, allocations: 0 / 0.5289 GB, free: 98.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.278, allocations: 0 / 0.5289 GB, free: 98.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/1.279, allocations: 0.566 MB / 0.5294 GB, free: 98.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.28, allocations: 0 / 0.5294 GB, free: 98.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/1.28, allocations: 54.34 kB / 0.5295 GB, free: 98.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.28, allocations: 0 / 0.5295 GB, free: 98.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/1.28, allocations: 15.22 kB / 0.5295 GB, free: 98.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.28, allocations: 3.906 kB / 0.5295 GB, free: 98.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.28, allocations: 0 / 0.5295 GB, free: 98.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/1.281, allocations: 406.1 kB / 0.5299 GB, free: 98.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/1.281, allocations: 92.77 kB / 0.53 GB, free: 97.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/1.281, allocations: 7.438 kB / 0.53 GB, free: 97.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/1.281, allocations: 14.95 kB / 0.53 GB, free: 97.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/1.281, allocations: 14.78 kB / 0.53 GB, free: 97.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/1.281, allocations: 15.42 kB / 0.53 GB, free: 97.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.988e-05/1.281, allocations: 103.2 kB / 0.5301 GB, free: 97.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.281, allocations: 3.906 kB / 0.5301 GB, free: 97.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005555/1.282, allocations: 66 kB / 0.5302 GB, free: 97.83 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.001026/1.283, allocations: 1.26 MB / 0.5314 GB, free: 96.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004679/1.284, allocations: 172.4 kB / 0.5316 GB, free: 96.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.284, allocations: 0 / 0.5316 GB, free: 96.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/1.284, allocations: 82.59 kB / 0.5317 GB, free: 96.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/1.284, allocations: 34.36 kB / 0.5317 GB, free: 96.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/1.286, allocations: 352.1 kB / 0.5321 GB, free: 96.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/1.286, allocations: 0.7188 MB / 0.5328 GB, free: 95.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004425/1.286, allocations: 48.12 kB / 0.5328 GB, free: 95.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/1.286, allocations: 51.09 kB / 0.5328 GB, free: 95.8 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/1.286, allocations: 0 / 0.5328 GB, free: 95.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/1.312, allocations: 4.451 MB / 0.5372 GB, free: 95.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/1.312, allocations: 141.4 kB / 0.5373 GB, free: 94.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.767, allocations: 4 kB / 0.5373 GB, free: 94.98 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