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.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 1.785/1.785, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.576e-05/2.581e-05, allocations: 3.906 kB / 258.8 MB, free: 7.852 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2876, allocations: 44.51 MB / 303.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.04061/0.3283, allocations: 26.27 MB / 329.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02225/0.3506, allocations: 12.56 MB / 342.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.3511, allocations: 4 kB / 342.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007621/0.3518, allocations: 211 kB / 342.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006464/0.3525, allocations: 231.3 kB / 342.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01426/0.3668, allocations: 4.011 MB / 346.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009809/0.3678, allocations: 459.9 kB / 347.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.3679, allocations: 39.91 kB / 347.1 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008123/0.3761, allocations: 3.228 MB / 350.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004113/0.3765, allocations: 179.4 kB / 350.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0145/0.3911, allocations: 5.463 MB / 356 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002101/0.3932, allocations: 340 kB / 356.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.3934, allocations: 79.72 kB / 356.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.3937, allocations: 56 kB / 356.4 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005925/0.3996, allocations: 2.409 MB / 358.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3996, allocations: 0 / 358.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3997, allocations: 0 / 358.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.3997, allocations: 0 / 358.8 MB, free: 5.832 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.002918/0.4026, allocations: 0.9242 MB / 359.8 MB, free: 4.859 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4027, allocations: 12.03 kB / 359.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.4046, allocations: 159.5 kB / 359.9 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.4051, allocations: 314.3 kB / 360.2 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.739e-05/0.4052, allocations: 24.66 kB / 360.3 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-05/0.4053, allocations: 39.98 kB / 360.3 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.4075, allocations: 0.5659 MB / 360.9 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.4076, allocations: 3.938 kB / 360.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.4076, allocations: 15.98 kB / 360.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.4077, allocations: 8 kB / 360.9 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002507/0.4102, allocations: 0.5407 MB / 361.4 MB, free: 3.102 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.004321/0.4145, allocations: 2.608 MB / 364 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.417, allocations: 490.5 kB / 364.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/0.4182, allocations: 0.5598 MB / 365.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.4183, allocations: 42.56 kB / 365.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.394e-06/0.4183, allocations: 0 / 365.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.007637/0.4259, allocations: 1.593 MB / 366.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.426, allocations: 59.41 kB / 366.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.4263, allocations: 224 kB / 367 MB, free: 13.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.4264, allocations: 33.7 kB / 367 MB, free: 13.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.4266, allocations: 180.2 kB / 367.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.4267, allocations: 118.3 kB / 367.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.4267, allocations: 7.938 kB / 367.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.4269, allocations: 346.8 kB / 367.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007057/0.4276, allocations: 148.8 kB / 367.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007753/0.4284, allocations: 251.4 kB / 368.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007509/0.4291, allocations: 167.9 kB / 368.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4292, allocations: 0 / 368.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002155/0.4313, allocations: 0.5386 MB / 368.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4314, allocations: 4 kB / 368.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4314, allocations: 4 kB / 368.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007677/0.4322, allocations: 114.7 kB / 368.9 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.4329, allocations: 95.81 kB / 369 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.4353, allocations: 2.428 MB / 371.4 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006101/0.4359, allocations: 60.17 kB / 371.5 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.436, allocations: 16 kB / 371.5 MB, free: 8.328 MB / 314.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.0002569/0.4362, allocations: 157.7 kB / 371.6 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.4364, allocations: 35.7 kB / 371.7 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/0.4394, allocations: 1.359 MB / 373 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/0.4395, allocations: 31.86 kB / 373.1 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4395, allocations: 4 kB / 373.1 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002668/0.4422, allocations: 1.452 MB / 374.5 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.4463, allocations: 2.136 MB / 376.6 MB, free: 2.973 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.4464, allocations: 0 / 376.6 MB, free: 2.973 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/0.4471, allocations: 107.8 kB / 376.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/0.4476, allocations: 64.8 kB / 376.8 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.4477, allocations: 8 kB / 376.8 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004631/0.4481, allocations: 0.5991 MB / 377.4 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.4482, allocations: 3.984 kB / 377.4 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.4511, allocations: 1.317 MB / 378.7 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.4513, allocations: 164.2 kB / 378.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.345e-05/0.4515, allocations: 8 kB / 378.9 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005456/0.452, allocations: 43.94 kB / 379 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.4521, allocations: 35.94 kB / 379 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.4522, allocations: 15.98 kB / 379 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003672/0.4526, allocations: 243 kB / 379.2 MB, free: 304 kB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4526, allocations: 0 / 379.2 MB, free: 304 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.002811/0.4554, allocations: 0.8043 MB / 380 MB, free: 15.49 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.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.004941/0.4604, allocations: 0.9728 MB / 381 MB, free: 14.51 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00233/0.4627, allocations: 0.6777 MB / 381.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.4628, allocations: 0 / 381.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.4639, allocations: 424.7 kB / 382.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.4657, allocations: 192.8 kB / 382.3 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.4688, allocations: 1.539 MB / 383.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.4693, allocations: 0.8882 MB / 384.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006102/0.4699, allocations: 144.5 kB / 384.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.4701, allocations: 39.44 kB / 384.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4701, allocations: 0 / 384.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of Templates: time 0.05757/0.5277, allocations: 26.13 MB / 411 MB, free: 420 kB / 346.7 MB