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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.504e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2526, allocations: 44.49 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.118/6.37, allocations: 2.574 GB / 2.861 GB, free: 5.629 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/6.371, allocations: 86.28 kB / 2.861 GB, free: 5.578 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.22/7.591, allocations: 294.1 MB / 3.148 GB, free: 18.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.031e-06/7.591, allocations: 0 / 3.148 GB, free: 18.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.245e-05/7.591, allocations: 11.59 kB / 3.148 GB, free: 18.29 MB / 394.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.002377/7.593, allocations: 0.9157 MB / 3.149 GB, free: 17.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/7.593, allocations: 8.031 kB / 3.149 GB, free: 17.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009279/7.594, allocations: 91.77 kB / 3.149 GB, free: 17.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/7.595, allocations: 290.5 kB / 3.149 GB, free: 16.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/7.595, allocations: 12 kB / 3.149 GB, free: 16.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/7.595, allocations: 23.94 kB / 3.149 GB, free: 16.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004824/7.595, allocations: 233.4 kB / 3.15 GB, free: 16.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005516/7.596, allocations: 346.4 kB / 3.15 GB, free: 16.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/7.596, allocations: 7.984 kB / 3.15 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/7.596, allocations: 0 / 3.15 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/7.596, allocations: 12 kB / 3.15 GB, free: 16.24 MB / 394.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.3127/7.909, allocations: 17.75 MB / 3.167 GB, free: 48.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/7.909, allocations: 188.5 kB / 3.167 GB, free: 48.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/7.909, allocations: 83.52 kB / 3.168 GB, free: 48.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03381/7.943, allocations: 15.38 MB / 3.183 GB, free: 39.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/7.943, allocations: 39.52 kB / 3.183 GB, free: 39.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 2.904e-06/7.943, allocations: 0 / 3.183 GB, free: 39.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.005477/7.949, allocations: 1.127 MB / 3.184 GB, free: 39.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/7.949, allocations: 51.41 kB / 3.184 GB, free: 39.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/7.949, allocations: 213.4 kB / 3.184 GB, free: 39.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/7.949, allocations: 25.7 kB / 3.184 GB, free: 39.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/7.949, allocations: 268 kB / 3.184 GB, free: 38.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/7.949, allocations: 107.1 kB / 3.184 GB, free: 38.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/7.949, allocations: 0 / 3.184 GB, free: 38.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.911e-05/7.949, allocations: 326.2 kB / 3.185 GB, free: 38.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/7.949, allocations: 85.72 kB / 3.185 GB, free: 38.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/7.95, allocations: 206.1 kB / 3.185 GB, free: 38.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/7.951, allocations: 225.9 kB / 3.185 GB, free: 38.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/7.951, allocations: 0 / 3.185 GB, free: 38.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001915/7.953, allocations: 479.5 kB / 3.186 GB, free: 38.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/7.953, allocations: 12.56 kB / 3.186 GB, free: 38.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/7.953, allocations: 4.016 kB / 3.186 GB, free: 38.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000315/7.953, allocations: 73.25 kB / 3.186 GB, free: 38.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/7.954, allocations: 79.03 kB / 3.186 GB, free: 38.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/7.956, allocations: 1.912 MB / 3.188 GB, free: 36.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/7.956, allocations: 20.25 kB / 3.188 GB, free: 36.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/7.956, allocations: 17.98 kB / 3.188 GB, free: 36.67 MB / 394.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.0001224/7.957, allocations: 130.7 kB / 3.188 GB, free: 36.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/7.957, allocations: 26.58 kB / 3.188 GB, free: 36.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/7.958, allocations: 0.8154 MB / 3.189 GB, free: 36.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/7.958, allocations: 7.141 kB / 3.189 GB, free: 36.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.092e-06/7.958, allocations: 0 / 3.189 GB, free: 36.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/7.959, allocations: 1.04 MB / 3.19 GB, free: 35.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/7.961, allocations: 1.39 MB / 3.191 GB, free: 35.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.488e-06/7.961, allocations: 5.125 kB / 3.191 GB, free: 35.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/7.962, allocations: 54.5 kB / 3.191 GB, free: 35.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003551/7.962, allocations: 99.05 kB / 3.191 GB, free: 35.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/7.962, allocations: 0 / 3.191 GB, free: 35.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006582/7.963, allocations: 0.7203 MB / 3.192 GB, free: 35.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/7.963, allocations: 0 / 3.192 GB, free: 35.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/7.964, allocations: 0.9015 MB / 3.193 GB, free: 34.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/7.964, allocations: 119.8 kB / 3.193 GB, free: 34.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/7.964, allocations: 3.562 kB / 3.193 GB, free: 34.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/7.965, allocations: 14.69 kB / 3.193 GB, free: 34.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/7.965, allocations: 17 kB / 3.193 GB, free: 34.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/7.965, allocations: 13.81 kB / 3.193 GB, free: 34.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000173/7.965, allocations: 165.6 kB / 3.193 GB, free: 34.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.42e-07/7.965, allocations: 0 / 3.193 GB, free: 34.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002248/7.967, allocations: 0.5115 MB / 3.194 GB, free: 34.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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.003139/7.971, allocations: 0.9388 MB / 3.194 GB, free: 34.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00097/7.972, allocations: 482.4 kB / 3.195 GB, free: 34.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.373e-06/7.972, allocations: 0 / 3.195 GB, free: 34.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004952/7.972, allocations: 284.4 kB / 3.195 GB, free: 34.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/7.973, allocations: 140.3 kB / 3.195 GB, free: 34.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/7.975, allocations: 0.7348 MB / 3.196 GB, free: 34.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/7.975, allocations: 0.8136 MB / 3.197 GB, free: 33.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/7.975, allocations: 35.48 kB / 3.197 GB, free: 33.51 MB / 394.7 MB Notification: Performance of SimCode: time 1.741e-06/7.975, allocations: 0 / 3.197 GB, free: 33.51 MB / 394.7 MB Notification: Performance of Templates: time 0.02788/8.003, allocations: 17.91 MB / 3.214 GB, free: 32.18 MB / 394.7 MB