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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.248e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2515, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.126/6.378, allocations: 2.575 GB / 2.862 GB, free: 2.141 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/6.378, allocations: 88.97 kB / 2.863 GB, free: 2.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.901/8.279, allocations: 425.8 MB / 3.278 GB, free: 47.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.273e-06/8.279, allocations: 3.812 kB / 3.278 GB, free: 47.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.281e-05/8.279, allocations: 6.406 kB / 3.278 GB, free: 47.07 MB / 410.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.003985/8.283, allocations: 1.246 MB / 3.28 GB, free: 46.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/8.283, allocations: 10.72 kB / 3.28 GB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/8.285, allocations: 163.1 kB / 3.28 GB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/8.286, allocations: 322.3 kB / 3.28 GB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/8.286, allocations: 11.12 kB / 3.28 GB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/8.286, allocations: 25.61 kB / 3.28 GB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006622/8.287, allocations: 300 kB / 3.28 GB, free: 45.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/8.287, allocations: 368.7 kB / 3.281 GB, free: 45.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/8.287, allocations: 0 / 3.281 GB, free: 45.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/8.287, allocations: 3.875 kB / 3.281 GB, free: 45.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/8.287, allocations: 8.031 kB / 3.281 GB, free: 45.76 MB / 410.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.003158/8.29, allocations: 2.547 MB / 3.283 GB, free: 43.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/8.291, allocations: 231.4 kB / 3.283 GB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/8.291, allocations: 119.9 kB / 3.284 GB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000752/8.292, allocations: 0.5659 MB / 3.284 GB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/8.292, allocations: 41.52 kB / 3.284 GB, free: 42.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.853e-06/8.292, allocations: 0 / 3.284 GB, free: 42.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.003375/8.296, allocations: 0.9813 MB / 3.285 GB, free: 42.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/8.296, allocations: 62.81 kB / 3.285 GB, free: 42.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/8.296, allocations: 190.6 kB / 3.285 GB, free: 42.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/8.296, allocations: 28.05 kB / 3.285 GB, free: 42.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/8.296, allocations: 244.2 kB / 3.286 GB, free: 41.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.541e-05/8.296, allocations: 111.2 kB / 3.286 GB, free: 41.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/8.296, allocations: 0 / 3.286 GB, free: 41.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.965e-05/8.296, allocations: 325.7 kB / 3.286 GB, free: 41.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/8.296, allocations: 101.1 kB / 3.286 GB, free: 41.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/8.297, allocations: 193.5 kB / 3.286 GB, free: 41.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/8.297, allocations: 125.5 kB / 3.286 GB, free: 41.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.301e-06/8.297, allocations: 3.938 kB / 3.286 GB, free: 41.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001062/8.298, allocations: 385.5 kB / 3.287 GB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/8.298, allocations: 13 kB / 3.287 GB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/8.298, allocations: 0 / 3.287 GB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/8.299, allocations: 82.84 kB / 3.287 GB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/8.299, allocations: 96.58 kB / 3.287 GB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/8.3, allocations: 2.334 MB / 3.289 GB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/8.301, allocations: 63.33 kB / 3.289 GB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/8.301, allocations: 18.06 kB / 3.289 GB, free: 38.69 MB / 410.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.0001292/8.301, allocations: 119.5 kB / 3.289 GB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/8.301, allocations: 32.73 kB / 3.289 GB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/8.303, allocations: 1.11 MB / 3.291 GB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/8.303, allocations: 15.34 kB / 3.291 GB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.781e-06/8.303, allocations: 3.938 kB / 3.291 GB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001301/8.304, allocations: 1.247 MB / 3.292 GB, free: 37.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/8.307, allocations: 1.766 MB / 3.293 GB, free: 36.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.284e-06/8.307, allocations: 3.781 kB / 3.293 GB, free: 36.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004652/8.307, allocations: 89.69 kB / 3.294 GB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000325/8.308, allocations: 69.02 kB / 3.294 GB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/8.308, allocations: 0 / 3.294 GB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000363/8.308, allocations: 0.616 MB / 3.294 GB, free: 35.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.309e-06/8.308, allocations: 3.953 kB / 3.294 GB, free: 35.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/8.309, allocations: 1.02 MB / 3.295 GB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/8.31, allocations: 145.2 kB / 3.295 GB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/8.31, allocations: 3.938 kB / 3.295 GB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/8.31, allocations: 32.16 kB / 3.295 GB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.618e-05/8.31, allocations: 39.09 kB / 3.295 GB, free: 34.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/8.31, allocations: 15.52 kB / 3.295 GB, free: 34.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002538/8.311, allocations: 209.1 kB / 3.296 GB, free: 34.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.78e-07/8.311, allocations: 7.188 kB / 3.296 GB, free: 34.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003589/8.314, allocations: 0.8625 MB / 3.297 GB, free: 34.63 MB / 410.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: 8 ($cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.005815/8.32, allocations: 1.41 MB / 3.298 GB, free: 34.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/8.321, allocations: 0.5184 MB / 3.298 GB, free: 34.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.182e-06/8.321, allocations: 3.844 kB / 3.298 GB, free: 34.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005247/8.322, allocations: 316 kB / 3.299 GB, free: 33.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/8.323, allocations: 147.4 kB / 3.299 GB, free: 33.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/8.324, allocations: 0.8634 MB / 3.3 GB, free: 33.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009223/8.325, allocations: 0.8572 MB / 3.301 GB, free: 48.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/8.326, allocations: 35.91 kB / 3.301 GB, free: 48.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.751e-06/8.326, allocations: 0 / 3.301 GB, free: 48.8 MB / 426.7 MB Notification: Performance of Templates: time 0.0418/8.367, allocations: 27.18 MB / 3.327 GB, free: 46.44 MB / 426.7 MB