Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.599/1.599, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.878e-05, allocations: 4 kB / 228.1 MB, free: 7.352 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08155/0.08163, allocations: 38.78 MB / 266.9 MB, free: 0.4922 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4371/0.5188, allocations: 121.2 MB / 388.1 MB, free: 9.113 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003546/0.5224, allocations: 2.061 MB / 390.2 MB, free: 7.051 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.5225, allocations: 0 / 390.2 MB, free: 7.051 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.5227, allocations: 16.44 kB / 390.2 MB, free: 7.035 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009037/0.5236, allocations: 236.2 kB / 390.4 MB, free: 6.805 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.5238, allocations: 55.78 kB / 390.5 MB, free: 6.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.271e-05/0.5239, allocations: 31.95 kB / 390.5 MB, free: 6.719 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.5239, allocations: 4 kB / 390.5 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.5241, allocations: 55.77 kB / 390.5 MB, free: 6.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.5242, allocations: 27.91 kB / 390.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.5254, allocations: 375.6 kB / 390.9 MB, free: 6.266 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.631e-05/0.5255, allocations: 20 kB / 391 MB, free: 6.246 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.5255, allocations: 7.938 kB / 391 MB, free: 6.238 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.5256, allocations: 8 kB / 391 MB, free: 6.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005522/0.5261, allocations: 209 kB / 391.2 MB, free: 6.035 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.5261, allocations: 0 / 391.2 MB, free: 6.035 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5262, allocations: 4 kB / 391.2 MB, free: 6.031 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.5262, allocations: 0 / 391.2 MB, free: 6.031 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001141/0.5273, allocations: 423 kB / 391.6 MB, free: 5.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.5274, allocations: 8.031 kB / 391.6 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.5384, allocations: 463.7 kB / 392.1 MB, free: 5.109 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.5385, allocations: 167.6 kB / 392.2 MB, free: 4.906 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.5386, allocations: 3.953 kB / 392.2 MB, free: 4.902 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.5387, allocations: 15.94 kB / 392.2 MB, free: 4.887 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.54, allocations: 294.7 kB / 392.5 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.54, allocations: 0 / 392.5 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.5401, allocations: 0 / 392.5 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.5401, allocations: 4 kB / 392.5 MB, free: 4.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.5416, allocations: 271.8 kB / 392.8 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.5431, allocations: 438.4 kB / 393.2 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.5448, allocations: 202.3 kB / 393.4 MB, free: 3.637 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.5449, allocations: 4 kB / 393.4 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.5449, allocations: 30.56 kB / 393.5 MB, free: 3.594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.394e-06/0.5449, allocations: 0 / 393.5 MB, free: 3.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.002936/0.5479, allocations: 421.4 kB / 393.9 MB, free: 3.176 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.548, allocations: 59.3 kB / 393.9 MB, free: 3.105 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.5481, allocations: 97 kB / 394 MB, free: 3.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.5481, allocations: 29.7 kB / 394.1 MB, free: 2.969 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.5482, allocations: 91.8 kB / 394.1 MB, free: 2.875 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.5483, allocations: 71.02 kB / 394.2 MB, free: 2.805 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.5484, allocations: 0 / 394.2 MB, free: 2.805 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5486, allocations: 318.8 kB / 394.5 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.5491, allocations: 72.31 kB / 394.6 MB, free: 2.414 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.5496, allocations: 124.5 kB / 394.7 MB, free: 2.281 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.5502, allocations: 89.94 kB / 394.8 MB, free: 2.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5502, allocations: 0 / 394.8 MB, free: 2.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001175/0.5514, allocations: 237.3 kB / 395 MB, free: 1.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.5514, allocations: 12.08 kB / 395 MB, free: 1.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5514, allocations: 8.812 kB / 395.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.5515, allocations: 0 / 395.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.5521, allocations: 55.89 kB / 395.1 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.5522, allocations: 7.984 kB / 395.1 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.5526, allocations: 11.98 kB / 395.1 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/0.5527, allocations: 12 kB / 395.1 MB, free: 1.852 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.000146/0.5529, allocations: 121.8 kB / 395.3 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.553, allocations: 7.906 kB / 395.3 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.5544, allocations: 282.5 kB / 395.5 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.5544, allocations: 4 kB / 395.5 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5544, allocations: 0 / 395.5 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5544, allocations: 0 / 395.5 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.5564, allocations: 0.5777 MB / 396.1 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.5565, allocations: 4 kB / 396.1 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/0.5571, allocations: 51.89 kB / 396.2 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.5571, allocations: 8 kB / 396.2 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.5572, allocations: 4 kB / 396.2 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.5572, allocations: 0 / 396.2 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5572, allocations: 3.984 kB / 396.2 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.5584, allocations: 352.4 kB / 396.5 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.5584, allocations: 85.02 kB / 396.6 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.5585, allocations: 4 kB / 396.6 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.559, allocations: 15.98 kB / 396.6 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.559, allocations: 19.88 kB / 396.7 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.5591, allocations: 11.98 kB / 396.7 MB, free: 200 kB / 314.7 MB Notification: Performance of sorting global known variables: time 4.82e-05/0.5591, allocations: 83.28 kB / 396.8 MB, free: 116 kB / 314.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5592, allocations: 0 / 396.8 MB, free: 116 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004509/0.5596, allocations: 44 kB / 396.8 MB, free: 72 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.000304/0.5599, allocations: 131.9 kB / 396.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.561, allocations: 193.9 kB / 397.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5611, allocations: 256 / 397.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.5616, allocations: 107.9 kB / 397.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.5621, allocations: 28.73 kB / 397.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.5633, allocations: 316.5 kB / 397.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.5636, allocations: 0.6974 MB / 398.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006828/0.5643, allocations: 61.59 kB / 398.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.5646, allocations: 35.34 kB / 398.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5646, allocations: 0 / 398.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of Templates: time 0.01185/0.5765, allocations: 2.807 MB / 401.2 MB, free: 11.66 MB / 330.7 MB