Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.785/1.785, allocations: 194.9 MB / 210.6 MB, free: 8.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.914e-05, allocations: 4 kB / 258.8 MB, free: 7.852 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.289, allocations: 44.5 MB / 303.3 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.04602/0.3351, allocations: 26.28 MB / 329.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02211/0.3572, allocations: 12.54 MB / 342.2 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004063/0.3577, allocations: 8 kB / 342.2 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007643/0.3585, allocations: 215 kB / 342.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006323/0.3591, allocations: 223.3 kB / 342.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01426/0.3734, allocations: 4.011 MB / 346.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.3745, allocations: 483.9 kB / 347.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.3746, allocations: 43.89 kB / 347.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007789/0.3824, allocations: 3.208 MB / 350.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.3828, allocations: 171.5 kB / 350.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009081/0.3919, allocations: 3.402 MB / 353.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.3932, allocations: 220 kB / 354.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.3933, allocations: 71.75 kB / 354.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.3936, allocations: 52 kB / 354.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003325/0.3969, allocations: 1.66 MB / 355.9 MB, free: 8.926 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3969, allocations: 0 / 355.9 MB, free: 8.926 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3969, allocations: 0 / 355.9 MB, free: 8.926 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.397, allocations: 0 / 355.9 MB, free: 8.926 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001763/0.3987, allocations: 0.7214 MB / 356.6 MB, free: 8.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3988, allocations: 12.02 kB / 356.6 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009679/0.3998, allocations: 79.58 kB / 356.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.4003, allocations: 294.4 kB / 357 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/0.4004, allocations: 32.66 kB / 357 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.4004, allocations: 28 kB / 357 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.4016, allocations: 442.1 kB / 357.5 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.4017, allocations: 4 kB / 357.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.4018, allocations: 15.94 kB / 357.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.4018, allocations: 8 kB / 357.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009469/0.4027, allocations: 317.8 kB / 357.8 MB, free: 6.855 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.003948/0.4067, allocations: 2.622 MB / 360.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008003/0.4075, allocations: 250.6 kB / 360.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05397/0.4615, allocations: 15.59 MB / 376.3 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.4616, allocations: 38.5 kB / 376.3 MB, free: 2.301 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.525e-06/0.4616, allocations: 0 / 376.3 MB, free: 2.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.006326/0.4679, allocations: 1.309 MB / 377.6 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.468, allocations: 55.41 kB / 377.7 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.4684, allocations: 237.7 kB / 377.9 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.4684, allocations: 33.7 kB / 377.9 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.4686, allocations: 191.9 kB / 378.1 MB, free: 388 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.4687, allocations: 110.4 kB / 378.2 MB, free: 276 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.4688, allocations: 12 kB / 378.2 MB, free: 264 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4689, allocations: 338.8 kB / 378.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.4692, allocations: 104.8 kB / 378.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.4696, allocations: 212.5 kB / 378.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.47, allocations: 147.9 kB / 379 MB, free: 15.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.47, allocations: 0 / 379 MB, free: 15.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001126/0.4711, allocations: 430.7 kB / 379.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4712, allocations: 8 kB / 379.5 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4712, allocations: 7.938 kB / 379.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005259/0.4764, allocations: 265.4 kB / 379.7 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.477, allocations: 83.84 kB / 379.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.4789, allocations: 1.88 MB / 381.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.4793, allocations: 31.78 kB / 381.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.4794, allocations: 20 kB / 381.7 MB, free: 12.53 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002486/0.4797, allocations: 169.8 kB / 381.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.565e-05/0.4798, allocations: 27.72 kB / 381.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.4815, allocations: 0.9397 MB / 382.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.4815, allocations: 19.92 kB / 382.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.4815, allocations: 0 / 382.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/0.4829, allocations: 1.114 MB / 384 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.4856, allocations: 1.588 MB / 385.6 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4856, allocations: 0 / 385.6 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.486, allocations: 55.91 kB / 385.6 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002783/0.4888, allocations: 284 kB / 385.9 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.4888, allocations: 15.94 kB / 385.9 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007075/0.4896, allocations: 0.6577 MB / 386.6 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4896, allocations: 3.984 kB / 386.6 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.4913, allocations: 0.9604 MB / 387.6 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.4915, allocations: 128.6 kB / 387.7 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.123e-05/0.4916, allocations: 8 kB / 387.7 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.4919, allocations: 19.92 kB / 387.7 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.492, allocations: 20.05 kB / 387.7 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.4921, allocations: 15.92 kB / 387.7 MB, free: 6.262 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003697/0.4924, allocations: 239.1 kB / 388 MB, free: 6.027 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4925, allocations: 0 / 388 MB, free: 6.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001814/0.4943, allocations: 499.8 kB / 388.5 MB, free: 5.539 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002574/0.4969, allocations: 0.5223 MB / 389 MB, free: 5.008 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.4982, allocations: 0.5199 MB / 389.5 MB, free: 4.477 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4982, allocations: 0 / 389.5 MB, free: 4.477 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006676/0.4989, allocations: 292.3 kB / 389.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.5006, allocations: 192.1 kB / 390 MB, free: 4.004 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.5028, allocations: 1.22 MB / 391.2 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.5032, allocations: 0.8322 MB / 392 MB, free: 1.902 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004972/0.5037, allocations: 111 kB / 392.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.5039, allocations: 35.42 kB / 392.2 MB, free: 1.762 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5039, allocations: 0 / 392.2 MB, free: 1.762 MB / 330.7 MB Notification: Performance of Templates: time 0.03934/0.5432, allocations: 17.5 MB / 409.7 MB, free: 264 kB / 346.7 MB