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.861/1.861, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.552e-05, allocations: 0 / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07757/0.07762, allocations: 44.5 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.955/6.033, allocations: 2.574 GB / 2.867 GB, free: 17.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/6.033, allocations: 86.56 kB / 2.867 GB, free: 17.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.27/7.303, allocations: 296.4 MB / 3.157 GB, free: 54.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.305e-06/7.303, allocations: 384 / 3.157 GB, free: 54.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.59e-05/7.303, allocations: 14.09 kB / 3.157 GB, free: 54.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.002918/7.306, allocations: 0.9105 MB / 3.157 GB, free: 53.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/7.306, allocations: 12.03 kB / 3.157 GB, free: 53.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/7.307, allocations: 89.67 kB / 3.158 GB, free: 53.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/7.307, allocations: 297.4 kB / 3.158 GB, free: 52.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/7.307, allocations: 20.78 kB / 3.158 GB, free: 52.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/7.307, allocations: 32 kB / 3.158 GB, free: 52.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009594/7.308, allocations: 446.3 kB / 3.158 GB, free: 52.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/7.308, allocations: 7.75 kB / 3.158 GB, free: 52.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/7.308, allocations: 12 kB / 3.158 GB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/7.308, allocations: 8 kB / 3.158 GB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007533/7.309, allocations: 317.2 kB / 3.159 GB, free: 52.03 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.002813/7.312, allocations: 2.625 MB / 3.161 GB, free: 49.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006966/7.313, allocations: 264.4 kB / 3.161 GB, free: 49.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/7.313, allocations: 100.9 kB / 3.162 GB, free: 49.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03252/7.346, allocations: 15.37 MB / 3.177 GB, free: 32.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/7.346, allocations: 46.5 kB / 3.177 GB, free: 32.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.887e-06/7.346, allocations: 3.938 kB / 3.177 GB, free: 32.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.004875/7.351, allocations: 1.165 MB / 3.178 GB, free: 31.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/7.351, allocations: 59.41 kB / 3.178 GB, free: 31.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/7.351, allocations: 230.8 kB / 3.178 GB, free: 31.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/7.351, allocations: 37.7 kB / 3.178 GB, free: 31.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/7.351, allocations: 250.3 kB / 3.178 GB, free: 30.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/7.351, allocations: 110.3 kB / 3.178 GB, free: 30.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/7.351, allocations: 8 kB / 3.178 GB, free: 30.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.218e-05/7.351, allocations: 330.8 kB / 3.179 GB, free: 30.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/7.351, allocations: 96.88 kB / 3.179 GB, free: 30.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/7.352, allocations: 210 kB / 3.179 GB, free: 30.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/7.352, allocations: 139.9 kB / 3.179 GB, free: 29.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.473e-06/7.352, allocations: 0 / 3.179 GB, free: 29.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008867/7.353, allocations: 398.8 kB / 3.18 GB, free: 29.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/7.353, allocations: 9.594 kB / 3.18 GB, free: 29.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/7.353, allocations: 4 kB / 3.18 GB, free: 29.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004079/7.357, allocations: 265.8 kB / 3.18 GB, free: 29.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/7.358, allocations: 83.89 kB / 3.18 GB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/7.359, allocations: 1.867 MB / 3.182 GB, free: 27.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/7.359, allocations: 23.89 kB / 3.182 GB, free: 27.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/7.359, allocations: 20 kB / 3.182 GB, free: 27.13 MB / 410.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.0001188/7.36, allocations: 140.8 kB / 3.182 GB, free: 26.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.442e-05/7.36, allocations: 27.72 kB / 3.182 GB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/7.361, allocations: 0.9398 MB / 3.183 GB, free: 26.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/7.361, allocations: 11.98 kB / 3.183 GB, free: 26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.917e-06/7.361, allocations: 0 / 3.183 GB, free: 26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000993/7.362, allocations: 1.114 MB / 3.184 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/7.364, allocations: 1.583 MB / 3.185 GB, free: 23.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.579e-06/7.364, allocations: 0 / 3.185 GB, free: 23.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/7.364, allocations: 55.91 kB / 3.185 GB, free: 23.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002064/7.366, allocations: 279.9 kB / 3.186 GB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/7.366, allocations: 11.98 kB / 3.186 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004996/7.367, allocations: 0.6577 MB / 3.186 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.247e-06/7.367, allocations: 0 / 3.186 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/7.368, allocations: 0.9564 MB / 3.187 GB, free: 21.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/7.368, allocations: 136.4 kB / 3.187 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/7.369, allocations: 8 kB / 3.187 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/7.369, allocations: 16.06 kB / 3.188 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/7.369, allocations: 23.91 kB / 3.188 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/7.369, allocations: 11.98 kB / 3.188 GB, free: 20.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002863/7.369, allocations: 234.2 kB / 3.188 GB, free: 20.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.72e-07/7.369, allocations: 4 kB / 3.188 GB, free: 20.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00248/7.372, allocations: 0.5465 MB / 3.188 GB, free: 20.16 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.T) * 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 (30): * Single equations (assignments): 27 * 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.003718/7.376, allocations: 0.8583 MB / 3.189 GB, free: 19.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/7.377, allocations: 0.4997 MB / 3.19 GB, free: 18.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.915e-06/7.377, allocations: 4 kB / 3.19 GB, free: 18.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004759/7.377, allocations: 288.4 kB / 3.19 GB, free: 18.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/7.378, allocations: 185 kB / 3.19 GB, free: 18.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/7.38, allocations: 0.7804 MB / 3.191 GB, free: 17.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/7.38, allocations: 0.8362 MB / 3.192 GB, free: 16.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/7.38, allocations: 31.44 kB / 3.192 GB, free: 16.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.61e-06/7.38, allocations: 0 / 3.192 GB, free: 16.73 MB / 410.7 MB Notification: Performance of Templates: time 0.2645/7.645, allocations: 18.34 MB / 3.21 GB, free: 61.24 MB / 410.7 MB