Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 270 MB / 283.6 MB, free: 3.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.601e-05/3.607e-05, allocations: 7.984 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 61.88 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.559/1.671, allocations: 0.5108 GB / 0.9114 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/1.671, allocations: 91.94 kB / 0.9115 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9859/2.657, allocations: 219.2 MB / 1.126 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.04e-06/2.657, allocations: 3.938 kB / 1.126 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.177e-05/2.657, allocations: 15.25 kB / 1.126 GB, free: 110.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002568/2.66, allocations: 1.038 MB / 1.127 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/2.66, allocations: 7.875 kB / 1.127 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/2.661, allocations: 132.4 kB / 1.127 GB, free: 110 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/2.662, allocations: 0.5452 MB / 1.127 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/2.663, allocations: 104.5 kB / 1.127 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/2.663, allocations: 47.41 kB / 1.127 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/2.664, allocations: 0.7943 MB / 1.128 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/2.664, allocations: 11.69 kB / 1.128 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/2.664, allocations: 27.5 kB / 1.128 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.73e-05/2.665, allocations: 42.88 kB / 1.128 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/2.666, allocations: 0.586 MB / 1.129 GB, free: 108.6 MB / 0.5261 GB 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.005195/2.671, allocations: 3.927 MB / 1.133 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006441/2.672, allocations: 327.4 kB / 1.133 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/2.672, allocations: 162.7 kB / 1.133 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/2.672, allocations: 92.38 kB / 1.133 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/2.672, allocations: 38.78 kB / 1.133 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.616e-06/2.672, allocations: 0 / 1.133 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.006513/2.679, allocations: 1.521 MB / 1.135 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/2.679, allocations: 136.4 kB / 1.135 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008218/2.68, allocations: 0.533 MB / 1.135 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/2.68, allocations: 33.7 kB / 1.135 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/2.68, allocations: 366.8 kB / 1.136 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/2.68, allocations: 141.8 kB / 1.136 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/2.68, allocations: 16 kB / 1.136 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001245/2.68, allocations: 378.8 kB / 1.136 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/2.681, allocations: 201.4 kB / 1.136 GB, free: 102 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000538/2.681, allocations: 497.1 kB / 1.137 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/2.682, allocations: 292 kB / 1.137 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.615e-06/2.682, allocations: 4 kB / 1.137 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00176/2.684, allocations: 0.8253 MB / 1.138 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/2.684, allocations: 15.59 kB / 1.138 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/2.684, allocations: 11.95 kB / 1.138 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/2.685, allocations: 316 kB / 1.138 GB, free: 99.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/2.686, allocations: 115.8 kB / 1.138 GB, free: 99.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/2.687, allocations: 0.9235 MB / 1.139 GB, free: 98.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009826/2.688, allocations: 51.89 kB / 1.139 GB, free: 98.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/2.688, allocations: 64 kB / 1.139 GB, free: 98.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.000211/2.689, allocations: 157.1 kB / 1.14 GB, free: 98.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/2.689, allocations: 67.25 kB / 1.14 GB, free: 98.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/2.691, allocations: 0.8435 MB / 1.141 GB, free: 97.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.004e-06/2.691, allocations: 7.984 kB / 1.141 GB, free: 97.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.895e-06/2.691, allocations: 3.953 kB / 1.141 GB, free: 97.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/2.691, allocations: 7.938 kB / 1.141 GB, free: 97.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/2.693, allocations: 1.429 MB / 1.142 GB, free: 96.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.498e-06/2.694, allocations: 4.188 kB / 1.142 GB, free: 96.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/2.695, allocations: 207.8 kB / 1.142 GB, free: 95.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/2.695, allocations: 24.84 kB / 1.142 GB, free: 95.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/2.695, allocations: 27.98 kB / 1.142 GB, free: 95.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/2.697, allocations: 2.671 MB / 1.145 GB, free: 92.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/2.697, allocations: 3.984 kB / 1.145 GB, free: 92.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/2.698, allocations: 0.8701 MB / 1.146 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/2.699, allocations: 180.3 kB / 1.146 GB, free: 91.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/2.699, allocations: 8 kB / 1.146 GB, free: 91.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000692/2.7, allocations: 39.81 kB / 1.146 GB, free: 91.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/2.7, allocations: 43.92 kB / 1.146 GB, free: 91.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.942e-05/2.7, allocations: 51.91 kB / 1.146 GB, free: 91.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006429/2.701, allocations: 419.2 kB / 1.146 GB, free: 91.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.9e-07/2.701, allocations: 0 / 1.146 GB, free: 91.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001518/2.702, allocations: 331 kB / 1.147 GB, free: 90.85 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001693/2.704, allocations: 0.9511 MB / 1.148 GB, free: 90.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001416/2.705, allocations: 0.5195 MB / 1.148 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.742e-06/2.705, allocations: 0 / 1.148 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/2.706, allocations: 393.4 kB / 1.149 GB, free: 89.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/2.709, allocations: 332.6 kB / 1.149 GB, free: 88.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/2.711, allocations: 0.9488 MB / 1.15 GB, free: 87.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/2.711, allocations: 0.9416 MB / 1.151 GB, free: 86.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001763/2.713, allocations: 463.8 kB / 1.151 GB, free: 86.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004851/2.713, allocations: 115.3 kB / 1.151 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.821e-06/2.713, allocations: 0 / 1.151 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.04999/2.763, allocations: 28.19 MB / 1.179 GB, free: 58.29 MB / 0.5261 GB