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.2_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.847/1.847, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.638e-05/2.642e-05, allocations: 4 kB / 258.8 MB, free: 8.074 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2968, allocations: 44.5 MB / 303.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1921/0.4889, allocations: 121.2 MB / 424.5 MB, free: 4.074 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003352/0.4923, allocations: 2.069 MB / 426.6 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.4924, allocations: 0 / 426.6 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.4926, allocations: 11.97 kB / 426.6 MB, free: 1.992 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009111/0.4935, allocations: 247.1 kB / 426.8 MB, free: 1.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.4937, allocations: 39.86 kB / 426.9 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.4938, allocations: 47.86 kB / 426.9 MB, free: 1.664 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.4938, allocations: 4 kB / 426.9 MB, free: 1.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.494, allocations: 35.91 kB / 427 MB, free: 1.625 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.319e-05/0.4941, allocations: 27.92 kB / 427 MB, free: 1.598 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.4952, allocations: 383.5 kB / 427.4 MB, free: 1.223 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.087e-05/0.4953, allocations: 20 kB / 427.4 MB, free: 1.203 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.4953, allocations: 4 kB / 427.4 MB, free: 1.199 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.4954, allocations: 12 kB / 427.4 MB, free: 1.188 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005095/0.4959, allocations: 202 kB / 427.6 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4959, allocations: 0 / 427.6 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4959, allocations: 0 / 427.6 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.496, allocations: 0 / 427.6 MB, free: 0.9922 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00114/0.4971, allocations: 419.1 kB / 428 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4972, allocations: 12.03 kB / 428 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.5081, allocations: 463.2 kB / 428.5 MB, free: 72 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.235/0.7432, allocations: 162.7 kB / 428.6 MB, free: 123.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.7432, allocations: 2.781 kB / 428.6 MB, free: 123.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.7434, allocations: 8.391 kB / 428.6 MB, free: 123.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.7448, allocations: 297.5 kB / 428.9 MB, free: 123.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.7449, allocations: 1.641 kB / 428.9 MB, free: 123.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.989e-05/0.7449, allocations: 1.875 kB / 428.9 MB, free: 123.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.745, allocations: 2.062 kB / 428.9 MB, free: 123.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.7465, allocations: 275 kB / 429.2 MB, free: 123.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.748, allocations: 427.9 kB / 429.6 MB, free: 123.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.7498, allocations: 208.2 kB / 429.8 MB, free: 123.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.7499, allocations: 1.844 kB / 429.8 MB, free: 123.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.7499, allocations: 37.03 kB / 429.9 MB, free: 123.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 4.639e-06/0.7499, allocations: 4.5 kB / 429.9 MB, free: 123.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.003037/0.753, allocations: 422.6 kB / 430.3 MB, free: 123 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.7531, allocations: 57.09 kB / 430.3 MB, free: 122.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/0.7531, allocations: 95.53 kB / 430.4 MB, free: 122.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.7532, allocations: 30.95 kB / 430.5 MB, free: 122.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.7532, allocations: 96.2 kB / 430.6 MB, free: 122.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.404e-05/0.7533, allocations: 62.75 kB / 430.6 MB, free: 122.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.7534, allocations: 0.5 kB / 430.6 MB, free: 122.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.912e-05/0.7534, allocations: 320.6 kB / 430.9 MB, free: 122.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/0.7539, allocations: 78.73 kB / 431 MB, free: 122.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.7544, allocations: 116.5 kB / 431.1 MB, free: 122.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.755, allocations: 84.16 kB / 431.2 MB, free: 122.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.755, allocations: 0.5938 kB / 431.2 MB, free: 122.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001146/0.7561, allocations: 248 kB / 431.5 MB, free: 122.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.7562, allocations: 5.594 kB / 431.5 MB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.7562, allocations: 8.703 kB / 431.5 MB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.7562, allocations: 2.219 kB / 431.5 MB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/0.7569, allocations: 56.08 kB / 431.5 MB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.757, allocations: 2.281 kB / 431.5 MB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.7574, allocations: 14.7 kB / 431.5 MB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.7575, allocations: 13.11 kB / 431.6 MB, free: 122.1 MB / 362.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.0001218/0.7576, allocations: 126.1 kB / 431.7 MB, free: 122 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.7577, allocations: 5.406 kB / 431.7 MB, free: 122 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.759, allocations: 274.6 kB / 431.9 MB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.7591, allocations: 9.266 kB / 432 MB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.7591, allocations: 1.062 kB / 432 MB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.7591, allocations: 0 / 432 MB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.7614, allocations: 0.5827 MB / 432.5 MB, free: 121.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.7614, allocations: 0 / 432.5 MB, free: 121.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000912/0.7624, allocations: 43.48 kB / 432.6 MB, free: 121.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.7624, allocations: 6.812 kB / 432.6 MB, free: 121.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.7625, allocations: 2.5 kB / 432.6 MB, free: 121.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.889e-06/0.7625, allocations: 1.375 kB / 432.6 MB, free: 121.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7625, allocations: 5.25 kB / 432.6 MB, free: 121.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.7643, allocations: 357.8 kB / 433 MB, free: 121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.7644, allocations: 88.5 kB / 433 MB, free: 120.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.7646, allocations: 2.719 kB / 433 MB, free: 120.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/0.7654, allocations: 14.77 kB / 433.1 MB, free: 120.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.7655, allocations: 18.91 kB / 433.1 MB, free: 120.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-05/0.7655, allocations: 12.08 kB / 433.1 MB, free: 120.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.753e-05/0.7656, allocations: 82.31 kB / 433.2 MB, free: 120.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.7656, allocations: 0 / 433.2 MB, free: 120.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000868/0.7665, allocations: 41.56 kB / 433.2 MB, free: 120.8 MB / 362.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.0004248/0.767, allocations: 127.8 kB / 433.3 MB, free: 120.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.7687, allocations: 194.2 kB / 433.5 MB, free: 120.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.7687, allocations: 4.25 kB / 433.5 MB, free: 120.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.7694, allocations: 101.1 kB / 433.6 MB, free: 120.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.7701, allocations: 37.42 kB / 433.7 MB, free: 120.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.7717, allocations: 315.6 kB / 434 MB, free: 120.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.7719, allocations: 0.6934 MB / 434.7 MB, free: 119.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001033/0.7729, allocations: 60.62 kB / 434.7 MB, free: 119.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/0.7733, allocations: 31.2 kB / 434.8 MB, free: 119.5 MB / 362.7 MB Notification: Performance of SimCode: time 2.114e-06/0.7734, allocations: 0 / 434.8 MB, free: 119.5 MB / 362.7 MB Notification: Performance of Templates: time 0.01239/0.7858, allocations: 2.827 MB / 437.6 MB, free: 116.8 MB / 362.7 MB