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_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 194.9 MB / 208 MB, free: 3.191 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.054e-05, allocations: 4 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07766/0.07772, allocations: 44.49 MB / 299.9 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.115/6.193, allocations: 2.574 GB / 2.867 GB, free: 90.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003844/6.194, allocations: 87 kB / 2.867 GB, free: 90.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36/7.554, allocations: 296.4 MB / 3.157 GB, free: 52.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.225e-06/7.554, allocations: 0 / 3.157 GB, free: 52.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.31e-05/7.554, allocations: 7.875 kB / 3.157 GB, free: 52.18 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.002612/7.557, allocations: 0.9154 MB / 3.157 GB, free: 51.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/7.557, allocations: 6.719 kB / 3.157 GB, free: 51.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009991/7.558, allocations: 91.62 kB / 3.158 GB, free: 51.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/7.558, allocations: 303.2 kB / 3.158 GB, free: 51.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/7.558, allocations: 22 kB / 3.158 GB, free: 51.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/7.558, allocations: 33.75 kB / 3.158 GB, free: 51.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009599/7.559, allocations: 441 kB / 3.158 GB, free: 51.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/7.559, allocations: 4.906 kB / 3.158 GB, free: 51.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/7.56, allocations: 18.78 kB / 3.158 GB, free: 51.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/7.56, allocations: 10.69 kB / 3.158 GB, free: 51.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008023/7.56, allocations: 316.2 kB / 3.159 GB, free: 51.35 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.002889/7.563, allocations: 2.63 MB / 3.161 GB, free: 49.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/7.564, allocations: 266.5 kB / 3.161 GB, free: 49.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/7.564, allocations: 97.64 kB / 3.162 GB, free: 49.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0363/7.601, allocations: 15.38 MB / 3.177 GB, free: 40.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/7.601, allocations: 37.84 kB / 3.177 GB, free: 40.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 4.1e-06/7.601, allocations: 0 / 3.177 GB, free: 40.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.005196/7.606, allocations: 1.165 MB / 3.178 GB, free: 39.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/7.606, allocations: 55.12 kB / 3.178 GB, free: 39.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/7.606, allocations: 236.8 kB / 3.178 GB, free: 39.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/7.606, allocations: 32.89 kB / 3.178 GB, free: 39.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/7.606, allocations: 205.4 kB / 3.178 GB, free: 39.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.656e-05/7.606, allocations: 107.2 kB / 3.178 GB, free: 39.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/7.607, allocations: 6.75 kB / 3.178 GB, free: 39.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.205e-05/7.607, allocations: 335.4 kB / 3.179 GB, free: 39.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/7.607, allocations: 95.16 kB / 3.179 GB, free: 39.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/7.607, allocations: 210.5 kB / 3.179 GB, free: 38.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/7.607, allocations: 140.8 kB / 3.179 GB, free: 38.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.927e-06/7.607, allocations: 3.875 kB / 3.179 GB, free: 38.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001026/7.608, allocations: 417.6 kB / 3.18 GB, free: 38.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/7.609, allocations: 7.281 kB / 3.18 GB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/7.609, allocations: 3.531 kB / 3.18 GB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004004/7.613, allocations: 264.9 kB / 3.18 GB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/7.613, allocations: 84.55 kB / 3.18 GB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/7.614, allocations: 1.867 MB / 3.182 GB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/7.615, allocations: 26.11 kB / 3.182 GB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/7.615, allocations: 22.94 kB / 3.182 GB, free: 37.09 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.0001297/7.615, allocations: 132.1 kB / 3.182 GB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.41e-05/7.615, allocations: 31.25 kB / 3.182 GB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/7.617, allocations: 0.9342 MB / 3.183 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/7.617, allocations: 9.953 kB / 3.183 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.402e-06/7.617, allocations: 0 / 3.183 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001109/7.618, allocations: 1.115 MB / 3.184 GB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/7.62, allocations: 1.59 MB / 3.185 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.778e-06/7.62, allocations: 0 / 3.185 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/7.62, allocations: 53.64 kB / 3.186 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002301/7.623, allocations: 278.8 kB / 3.186 GB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/7.623, allocations: 16.58 kB / 3.186 GB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005517/7.623, allocations: 0.6583 MB / 3.186 GB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.561e-06/7.623, allocations: 3.906 kB / 3.186 GB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/7.625, allocations: 0.9514 MB / 3.187 GB, free: 35.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/7.625, allocations: 130.2 kB / 3.187 GB, free: 35.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.987e-05/7.625, allocations: 10.91 kB / 3.187 GB, free: 35.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/7.626, allocations: 15.03 kB / 3.188 GB, free: 35.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/7.626, allocations: 24.67 kB / 3.188 GB, free: 35.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/7.626, allocations: 11.52 kB / 3.188 GB, free: 35.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003218/7.626, allocations: 240.2 kB / 3.188 GB, free: 35.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.87e-07/7.626, allocations: 2.734 kB / 3.188 GB, free: 35.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00251/7.629, allocations: 0.5435 MB / 3.188 GB, free: 34.98 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.003984/7.633, allocations: 0.8503 MB / 3.189 GB, free: 34.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/7.634, allocations: 0.4944 MB / 3.19 GB, free: 34.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.344e-06/7.634, allocations: 1.969 kB / 3.19 GB, free: 34.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/7.634, allocations: 291.4 kB / 3.19 GB, free: 34.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/7.635, allocations: 188.2 kB / 3.19 GB, free: 34.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/7.637, allocations: 0.7484 MB / 3.191 GB, free: 34.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/7.637, allocations: 0.8375 MB / 3.192 GB, free: 33.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005048/7.638, allocations: 108.4 kB / 3.192 GB, free: 33.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/7.638, allocations: 38.75 kB / 3.192 GB, free: 33.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/7.638, allocations: 4 kB / 3.192 GB, free: 33.74 MB / 410.7 MB Notification: Performance of Templates: time 0.04286/7.681, allocations: 23.78 MB / 3.215 GB, free: 32.35 MB / 410.7 MB