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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.871e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 47.58 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.881/7.007, allocations: 2.742 GB / 3.051 GB, free: 105.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004289/7.007, allocations: 93.16 kB / 3.051 GB, free: 105.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.839/8.846, allocations: 426.8 MB / 3.468 GB, free: 5.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.601e-06/8.846, allocations: 4 kB / 3.468 GB, free: 5.746 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.158e-05/8.847, allocations: 8 kB / 3.468 GB, free: 5.738 MB / 426.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.004199/8.851, allocations: 1.248 MB / 3.469 GB, free: 4.477 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/8.851, allocations: 12.03 kB / 3.469 GB, free: 4.465 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/8.853, allocations: 156.5 kB / 3.469 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/8.853, allocations: 313.1 kB / 3.47 GB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/8.853, allocations: 32.78 kB / 3.47 GB, free: 3.934 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/8.853, allocations: 28 kB / 3.47 GB, free: 3.906 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/8.855, allocations: 0.5348 MB / 3.47 GB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/8.855, allocations: 11.88 kB / 3.47 GB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/8.855, allocations: 15.98 kB / 3.47 GB, free: 3.309 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/8.855, allocations: 12 kB / 3.47 GB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/8.856, allocations: 464.8 kB / 3.471 GB, free: 2.84 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00456/8.861, allocations: 2.619 MB / 3.473 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002678/8.864, allocations: 426.4 kB / 3.474 GB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/8.864, allocations: 131.4 kB / 3.474 GB, free: 15.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001667/8.866, allocations: 0.5637 MB / 3.474 GB, free: 14.78 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/8.866, allocations: 30.56 kB / 3.475 GB, free: 14.74 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 4.925e-06/8.866, allocations: 0 / 3.475 GB, free: 14.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.008546/8.875, allocations: 1.252 MB / 3.476 GB, free: 13.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/8.875, allocations: 55.41 kB / 3.476 GB, free: 13.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/8.875, allocations: 220.9 kB / 3.476 GB, free: 13.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.297e-05/8.875, allocations: 33.7 kB / 3.476 GB, free: 13.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/8.876, allocations: 184.2 kB / 3.476 GB, free: 12.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/8.876, allocations: 113.7 kB / 3.476 GB, free: 12.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/8.876, allocations: 8 kB / 3.476 GB, free: 12.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002549/8.876, allocations: 338.8 kB / 3.477 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/8.877, allocations: 100.9 kB / 3.477 GB, free: 12.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006584/8.877, allocations: 198.6 kB / 3.477 GB, free: 12.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/8.878, allocations: 135.9 kB / 3.477 GB, free: 12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/8.878, allocations: 0 / 3.477 GB, free: 12 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0021/8.88, allocations: 427.5 kB / 3.477 GB, free: 11.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/8.88, allocations: 7.625 kB / 3.477 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/8.88, allocations: 8 kB / 3.477 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000808/8.881, allocations: 78.48 kB / 3.478 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000943/8.882, allocations: 95.88 kB / 3.478 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003568/8.886, allocations: 2.373 MB / 3.48 GB, free: 8.812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009749/8.887, allocations: 59.84 kB / 3.48 GB, free: 8.754 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.998e-05/8.887, allocations: 16 kB / 3.48 GB, free: 8.738 MB / 442.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 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.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.0002682/8.887, allocations: 128.8 kB / 3.48 GB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/8.887, allocations: 31.72 kB / 3.48 GB, free: 8.574 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/8.891, allocations: 1.335 MB / 3.482 GB, free: 7.227 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.331e-05/8.891, allocations: 15.98 kB / 3.482 GB, free: 7.211 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/8.891, allocations: 3.953 kB / 3.482 GB, free: 7.207 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003271/8.895, allocations: 1.428 MB / 3.483 GB, free: 5.688 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00581/8.9, allocations: 2.104 MB / 3.485 GB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/8.901, allocations: 0 / 3.485 GB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/8.902, allocations: 103.9 kB / 3.485 GB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007403/8.902, allocations: 76.66 kB / 3.485 GB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.454e-05/8.902, allocations: 16 kB / 3.485 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008251/8.903, allocations: 0.5836 MB / 3.486 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.166e-06/8.903, allocations: 4.031 kB / 3.486 GB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/8.907, allocations: 1.176 MB / 3.487 GB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/8.907, allocations: 164.2 kB / 3.487 GB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/8.907, allocations: 7.984 kB / 3.487 GB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000867/8.908, allocations: 44.06 kB / 3.487 GB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/8.908, allocations: 35.89 kB / 3.487 GB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/8.909, allocations: 19.98 kB / 3.487 GB, free: 1.234 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006095/8.909, allocations: 226.2 kB / 3.487 GB, free: 1.008 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.423e-06/8.909, allocations: 0 / 3.487 GB, free: 1.008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005902/8.915, allocations: 0.9016 MB / 3.488 GB, free: 108 kB / 442.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.2909/9.206, allocations: 1.308 MB / 3.49 GB, free: 54.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001519/9.208, allocations: 0.5714 MB / 3.49 GB, free: 54.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.704e-06/9.208, allocations: 0.5312 kB / 3.49 GB, free: 54.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006771/9.208, allocations: 372.4 kB / 3.49 GB, free: 54.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/9.21, allocations: 195.8 kB / 3.491 GB, free: 54.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/9.212, allocations: 0.9513 MB / 3.492 GB, free: 54.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/9.212, allocations: 0.8824 MB / 3.492 GB, free: 53.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006106/9.213, allocations: 143.8 kB / 3.493 GB, free: 53.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/9.213, allocations: 37.78 kB / 3.493 GB, free: 53.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.82e-06/9.213, allocations: 0 / 3.493 GB, free: 53.35 MB / 442.7 MB Notification: Performance of Templates: time 0.06002/9.273, allocations: 32.21 MB / 3.524 GB, free: 52.82 MB / 442.7 MB