Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.677/1.677, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 4.631e-05/4.646e-05, allocations: 4 kB / 219.6 MB, free: 7.312 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3355, allocations: 38.77 MB / 258.3 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.653, allocations: 428.3 MB / 0.6705 GB, free: 102.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/1.653, allocations: 85.47 kB / 0.6706 GB, free: 102.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7716/2.425, allocations: 153.3 MB / 0.8203 GB, free: 94.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.033e-06/2.425, allocations: 0 / 0.8203 GB, free: 94.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.107e-05/2.425, allocations: 6.328 kB / 0.8203 GB, free: 94.85 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001441/2.426, allocations: 0.5953 MB / 0.8209 GB, free: 94.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/2.426, allocations: 7.156 kB / 0.8209 GB, free: 94.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000555/2.427, allocations: 44.38 kB / 0.821 GB, free: 94.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/2.428, allocations: 282 kB / 0.8212 GB, free: 94.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/2.428, allocations: 9.406 kB / 0.8212 GB, free: 94.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.498e-05/2.428, allocations: 15.44 kB / 0.8213 GB, free: 94.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006082/2.428, allocations: 178.4 kB / 0.8214 GB, free: 94.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007466/2.429, allocations: 277.2 kB / 0.8217 GB, free: 94.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/2.429, allocations: 0.9375 kB / 0.8217 GB, free: 94.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/2.429, allocations: 3.594 kB / 0.8217 GB, free: 94.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/2.429, allocations: 6.188 kB / 0.8217 GB, free: 94.1 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/2.432, allocations: 1.553 MB / 0.8232 GB, free: 92.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/2.433, allocations: 140.4 kB / 0.8233 GB, free: 92.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/2.433, allocations: 81.72 kB / 0.8234 GB, free: 92.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/2.433, allocations: 7.328 kB / 0.8234 GB, free: 92.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/2.433, allocations: 40.88 kB / 0.8235 GB, free: 92.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 3.427e-06/2.433, allocations: 3.562 kB / 0.8235 GB, free: 92.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.008014/2.441, allocations: 0.9872 MB / 0.8244 GB, free: 92.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/2.441, allocations: 59.44 kB / 0.8245 GB, free: 92.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/2.442, allocations: 205 kB / 0.8247 GB, free: 92.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/2.442, allocations: 25.7 kB / 0.8247 GB, free: 92.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/2.442, allocations: 241.8 kB / 0.8249 GB, free: 92.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/2.442, allocations: 91.42 kB / 0.825 GB, free: 92.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/2.442, allocations: 0 / 0.825 GB, free: 92.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.971e-05/2.442, allocations: 329.9 kB / 0.8253 GB, free: 91.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/2.442, allocations: 82.53 kB / 0.8254 GB, free: 91.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/2.443, allocations: 169.4 kB / 0.8256 GB, free: 91.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/2.443, allocations: 116.6 kB / 0.8257 GB, free: 91.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/2.443, allocations: 3.688 kB / 0.8257 GB, free: 91.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000882/2.444, allocations: 340.5 kB / 0.826 GB, free: 91.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/2.444, allocations: 6.594 kB / 0.826 GB, free: 91.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/2.444, allocations: 3.938 kB / 0.826 GB, free: 91.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002728/2.444, allocations: 66.59 kB / 0.8261 GB, free: 91.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/2.445, allocations: 81.86 kB / 0.8262 GB, free: 91.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/2.446, allocations: 1.815 MB / 0.828 GB, free: 89.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/2.447, allocations: 18.69 kB / 0.828 GB, free: 89.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/2.447, allocations: 37.42 kB / 0.828 GB, free: 89.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001502/2.447, allocations: 112.7 kB / 0.8281 GB, free: 89.72 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006323/2.448, allocations: 262.3 kB / 0.8284 GB, free: 89.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/2.448, allocations: 25.22 kB / 0.8284 GB, free: 89.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/2.449, allocations: 341 kB / 0.8287 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/2.449, allocations: 2.156 kB / 0.8287 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/2.449, allocations: 6.859 kB / 0.8287 GB, free: 89.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005437/2.449, allocations: 0.5386 MB / 0.8292 GB, free: 89.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/2.451, allocations: 0.6647 MB / 0.8299 GB, free: 88.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/2.451, allocations: 0 / 0.8299 GB, free: 88.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/2.451, allocations: 71.52 kB / 0.83 GB, free: 88.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/2.451, allocations: 17.22 kB / 0.83 GB, free: 88.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/2.451, allocations: 14.55 kB / 0.83 GB, free: 88.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008572/2.452, allocations: 1.243 MB / 0.8312 GB, free: 87.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/2.452, allocations: 3.281 kB / 0.8312 GB, free: 87.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008756/2.453, allocations: 468.1 kB / 0.8317 GB, free: 87.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/2.453, allocations: 104 kB / 0.8318 GB, free: 87.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.535e-05/2.453, allocations: 3.5 kB / 0.8318 GB, free: 87.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/2.454, allocations: 10.52 kB / 0.8318 GB, free: 87.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/2.454, allocations: 25.42 kB / 0.8318 GB, free: 87.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/2.454, allocations: 37.12 kB / 0.8318 GB, free: 87.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001869/2.454, allocations: 156.9 kB / 0.832 GB, free: 87.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.454, allocations: 0 / 0.832 GB, free: 87.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001007/2.455, allocations: 157.5 kB / 0.8321 GB, free: 87.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002491/2.458, allocations: 1.94 MB / 0.834 GB, free: 86.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008923/2.459, allocations: 350.3 kB / 0.8344 GB, free: 86.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/2.459, allocations: 0 / 0.8344 GB, free: 86.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003255/2.459, allocations: 215.7 kB / 0.8346 GB, free: 86.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/2.46, allocations: 119.1 kB / 0.8347 GB, free: 86.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/2.462, allocations: 0.5733 MB / 0.8352 GB, free: 85.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/2.462, allocations: 0.773 MB / 0.836 GB, free: 85.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/2.463, allocations: 132.6 kB / 0.8361 GB, free: 85.12 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/2.463, allocations: 3.938 kB / 0.8361 GB, free: 85.12 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.053/5.516, allocations: 12.43 MB / 0.8483 GB, free: 79.02 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat