Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 1.744/1.744, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.466e-05/3.452e-05, allocations: 4 kB / 225 MB, free: 2.684 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2134, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.592/5.806, allocations: 2.466 GB / 2.724 GB, free: 70.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/5.806, allocations: 83.39 kB / 2.724 GB, free: 70.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843/7.649, allocations: 419 MB / 3.133 GB, free: 26.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.79e-06/7.649, allocations: 0 / 3.133 GB, free: 26.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.76e-05/7.649, allocations: 9.906 kB / 3.133 GB, free: 26.71 MB / 362.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.00389/7.653, allocations: 1.182 MB / 3.134 GB, free: 26.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/7.653, allocations: 7.906 kB / 3.134 GB, free: 26.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/7.655, allocations: 156.4 kB / 3.134 GB, free: 26.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/7.656, allocations: 321.1 kB / 3.135 GB, free: 25.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/7.656, allocations: 27.69 kB / 3.135 GB, free: 25.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/7.656, allocations: 34.08 kB / 3.135 GB, free: 25.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/7.658, allocations: 0.5338 MB / 3.135 GB, free: 25.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/7.658, allocations: 11.42 kB / 3.135 GB, free: 25.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/7.658, allocations: 17.91 kB / 3.135 GB, free: 25.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/7.658, allocations: 7.594 kB / 3.135 GB, free: 25.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000901/7.659, allocations: 325.8 kB / 3.136 GB, free: 25.68 MB / 362.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.003384/7.662, allocations: 2.564 MB / 3.138 GB, free: 23.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/7.663, allocations: 275 kB / 3.138 GB, free: 23.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/7.663, allocations: 116 kB / 3.138 GB, free: 23.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07357/7.737, allocations: 30.87 MB / 3.169 GB, free: 21.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/7.737, allocations: 38.16 kB / 3.169 GB, free: 21.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.125e-06/7.737, allocations: 0 / 3.169 GB, free: 21.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004064/7.741, allocations: 1.087 MB / 3.17 GB, free: 20.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/7.741, allocations: 55.34 kB / 3.17 GB, free: 20.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/7.741, allocations: 229.2 kB / 3.17 GB, free: 20.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/7.741, allocations: 32.55 kB / 3.17 GB, free: 20.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/7.742, allocations: 252.4 kB / 3.17 GB, free: 20.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.783e-05/7.742, allocations: 111.9 kB / 3.17 GB, free: 19.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/7.742, allocations: 4 kB / 3.17 GB, free: 19.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/7.742, allocations: 330.4 kB / 3.171 GB, free: 19.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/7.742, allocations: 89.89 kB / 3.171 GB, free: 19.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/7.742, allocations: 207.1 kB / 3.171 GB, free: 19.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/7.743, allocations: 122 kB / 3.171 GB, free: 19.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/7.743, allocations: 0 / 3.171 GB, free: 19.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009283/7.744, allocations: 384.2 kB / 3.171 GB, free: 19.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/7.744, allocations: 3.812 kB / 3.171 GB, free: 19.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/7.744, allocations: 7.734 kB / 3.171 GB, free: 19.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003438/7.744, allocations: 65.38 kB / 3.172 GB, free: 19.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/7.745, allocations: 92.56 kB / 3.172 GB, free: 19.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/7.747, allocations: 2.42 MB / 3.174 GB, free: 16.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/7.747, allocations: 33.58 kB / 3.174 GB, free: 16.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/7.747, allocations: 18.19 kB / 3.174 GB, free: 16.69 MB / 378.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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000183/7.747, allocations: 132.7 kB / 3.174 GB, free: 16.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-05/7.748, allocations: 30.72 kB / 3.174 GB, free: 16.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/7.749, allocations: 0.8598 MB / 3.175 GB, free: 16.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/7.749, allocations: 7.656 kB / 3.175 GB, free: 16.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.936e-06/7.749, allocations: 7.234 kB / 3.175 GB, free: 16.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/7.75, allocations: 1.041 MB / 3.176 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/7.752, allocations: 1.478 MB / 3.177 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.695e-06/7.752, allocations: 3.938 kB / 3.177 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/7.752, allocations: 50.97 kB / 3.178 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003978/7.753, allocations: 82.67 kB / 3.178 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/7.753, allocations: 11.17 kB / 3.178 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005068/7.753, allocations: 0.5854 MB / 3.178 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.433e-06/7.753, allocations: 0 / 3.178 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/7.755, allocations: 0.8176 MB / 3.179 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/7.755, allocations: 132.2 kB / 3.179 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/7.755, allocations: 11.94 kB / 3.179 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/7.755, allocations: 49.3 kB / 3.179 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/7.755, allocations: 15.38 kB / 3.179 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/7.756, allocations: 14.83 kB / 3.179 GB, free: 13.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003193/7.756, allocations: 237.9 kB / 3.179 GB, free: 13.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.74e-07/7.756, allocations: 0 / 3.179 GB, free: 13.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003503/7.759, allocations: 0.8806 MB / 3.18 GB, free: 13.03 MB / 378.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: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00644/7.766, allocations: 1.344 MB / 3.182 GB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/7.767, allocations: 472.4 kB / 3.182 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.173e-06/7.767, allocations: 0 / 3.182 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004656/7.768, allocations: 246.7 kB / 3.182 GB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/7.769, allocations: 177.8 kB / 3.182 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/7.771, allocations: 0.7618 MB / 3.183 GB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008798/7.771, allocations: 0.8266 MB / 3.184 GB, free: 27.17 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/7.772, allocations: 34.34 kB / 3.184 GB, free: 27.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.798e-06/7.772, allocations: 4 kB / 3.184 GB, free: 27.16 MB / 394.7 MB Notification: Performance of Templates: time 0.04004/7.812, allocations: 26 MB / 3.209 GB, free: 16.18 MB / 394.7 MB