Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 1.717/1.717, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.081e-05, allocations: 3.984 kB / 228.2 MB, free: 7.316 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08014/0.08019, allocations: 38.77 MB / 266.9 MB, free: 476 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.04245/0.1227, allocations: 26.1 MB / 293 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2512/0.374, allocations: 12.44 MB / 305.5 MB, free: 5.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005846/0.3746, allocations: 6.469 kB / 305.5 MB, free: 5.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.3757, allocations: 214.3 kB / 305.7 MB, free: 5.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.3768, allocations: 226.4 kB / 305.9 MB, free: 5.156 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03247/0.4093, allocations: 3.967 MB / 309.9 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.4108, allocations: 450.1 kB / 310.3 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.411, allocations: 43.38 kB / 310.4 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02577/0.4368, allocations: 3.19 MB / 313.5 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.4374, allocations: 182.5 kB / 313.7 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02831/0.4657, allocations: 5.414 MB / 319.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003579/0.4694, allocations: 337.8 kB / 319.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.4697, allocations: 79.62 kB / 319.5 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.4701, allocations: 49.44 kB / 319.6 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007784/0.4779, allocations: 2.385 MB / 322 MB, free: 2.871 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.478, allocations: 0 / 322 MB, free: 2.871 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.478, allocations: 0 / 322 MB, free: 2.871 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.478, allocations: 0 / 322 MB, free: 2.871 MB / 250.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.004227/0.4823, allocations: 0.9226 MB / 322.9 MB, free: 2.199 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4824, allocations: 11.28 kB / 322.9 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/0.4856, allocations: 158.2 kB / 323.1 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.4863, allocations: 314.8 kB / 323.4 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.334e-05/0.4864, allocations: 29.5 kB / 323.4 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4866, allocations: 33.19 kB / 323.4 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003334/0.4899, allocations: 0.5685 MB / 324 MB, free: 1.648 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.49, allocations: 4 kB / 324 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-05/0.4901, allocations: 17.55 kB / 324 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.4901, allocations: 7.781 kB / 324 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/0.4939, allocations: 0.5345 MB / 324.6 MB, free: 1.523 MB / 250.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.006191/0.5001, allocations: 2.631 MB / 327.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003857/0.504, allocations: 477.6 kB / 327.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001866/0.5059, allocations: 0.564 MB / 328.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.506, allocations: 34.38 kB / 328.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 4.429e-06/0.506, allocations: 0 / 328.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.01233/0.5183, allocations: 1.599 MB / 329.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.5185, allocations: 59.39 kB / 329.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.519, allocations: 221.8 kB / 330.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.438e-05/0.5191, allocations: 32.2 kB / 330.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.5193, allocations: 184.9 kB / 330.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.5196, allocations: 117.3 kB / 330.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.5196, allocations: 10.69 kB / 330.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.5198, allocations: 333.9 kB / 330.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.5209, allocations: 154.8 kB / 331 MB, free: 12.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.5221, allocations: 248.8 kB / 331.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.5233, allocations: 169.7 kB / 331.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5233, allocations: 4 kB / 331.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003267/0.5266, allocations: 0.523 MB / 331.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.5267, allocations: 11.95 kB / 331.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.5267, allocations: 0 / 331.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.5279, allocations: 116.5 kB / 332 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.5289, allocations: 95.91 kB / 332.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/0.5327, allocations: 2.431 MB / 334.5 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009837/0.5338, allocations: 50.56 kB / 334.6 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/0.5339, allocations: 20.94 kB / 334.6 MB, free: 8.531 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003879/0.5343, allocations: 162.6 kB / 334.8 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.5345, allocations: 31.62 kB / 334.8 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/0.539, allocations: 1.373 MB / 336.2 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.154e-05/0.5391, allocations: 18.91 kB / 336.2 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5391, allocations: 3.953 kB / 336.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00399/0.5431, allocations: 1.455 MB / 337.6 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006136/0.5493, allocations: 2.133 MB / 339.8 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.5494, allocations: 0 / 339.8 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.5505, allocations: 105.9 kB / 339.9 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007183/0.5512, allocations: 77.97 kB / 340 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.5513, allocations: 14.92 kB / 340 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007244/0.552, allocations: 0.5904 MB / 340.6 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5521, allocations: 0 / 340.6 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/0.5566, allocations: 1.316 MB / 341.9 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.557, allocations: 160.2 kB / 342 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.5572, allocations: 11.98 kB / 342 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008421/0.558, allocations: 43.97 kB / 342.1 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.5582, allocations: 35.95 kB / 342.1 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.5583, allocations: 11.98 kB / 342.1 MB, free: 2.328 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005404/0.5589, allocations: 231 kB / 342.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.5589, allocations: 0 / 342.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.004617/0.5635, allocations: 0.8043 MB / 343.2 MB, free: 1.301 MB / 266.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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007369/0.571, allocations: 0.9732 MB / 344.1 MB, free: 408 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002535/0.5735, allocations: 0.6829 MB / 344.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5736, allocations: 0 / 344.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.5748, allocations: 419.7 kB / 345.2 MB, free: 15.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.5766, allocations: 188.7 kB / 345.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.5798, allocations: 1.54 MB / 347 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.5804, allocations: 0.8871 MB / 347.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000614/0.581, allocations: 153.1 kB / 348 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.5812, allocations: 31.44 kB / 348 MB, free: 12.49 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5812, allocations: 0 / 348 MB, free: 12.49 MB / 282.7 MB Notification: Performance of Templates: time 0.05939/0.6406, allocations: 26.05 MB / 374.1 MB, free: 2.492 MB / 298.7 MB