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_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadModel(ModelicaTest): time 1.833/1.833, allocations: 209.3 MB / 221.9 MB, free: 1.859 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.715e-05, allocations: 8 kB / 273.1 MB, free: 0.7109 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08639, allocations: 48.69 MB / 321.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.313, allocations: 0.4976 GB / 0.8118 GB, free: 5.848 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.313, allocations: 83.95 kB / 0.8119 GB, free: 5.766 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.188/2.501, allocations: 234.3 MB / 1.041 GB, free: 82.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.15e-06/2.501, allocations: 0 / 1.041 GB, free: 82.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.456e-05/2.501, allocations: 21.81 kB / 1.041 GB, free: 82.51 MB / 426.7 MB 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.002738/2.504, allocations: 1.097 MB / 1.042 GB, free: 81.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/2.504, allocations: 8.531 kB / 1.042 GB, free: 81.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/2.505, allocations: 138 kB / 1.042 GB, free: 81.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/2.506, allocations: 0.5489 MB / 1.043 GB, free: 81.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/2.506, allocations: 108.1 kB / 1.043 GB, free: 81.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/2.507, allocations: 45.16 kB / 1.043 GB, free: 81.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/2.508, allocations: 0.793 MB / 1.043 GB, free: 81.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/2.508, allocations: 6.969 kB / 1.043 GB, free: 81.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/2.508, allocations: 28.55 kB / 1.043 GB, free: 81.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.235e-05/2.508, allocations: 36.3 kB / 1.044 GB, free: 81.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/2.509, allocations: 0.5875 MB / 1.044 GB, free: 81.36 MB / 426.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.004713/2.514, allocations: 3.912 MB / 1.048 GB, free: 78.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/2.515, allocations: 320 kB / 1.048 GB, free: 78.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/2.515, allocations: 167.4 kB / 1.048 GB, free: 78.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/2.515, allocations: 25.66 kB / 1.048 GB, free: 78.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/2.515, allocations: 37.88 kB / 1.048 GB, free: 78.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.373e-06/2.515, allocations: 0 / 1.048 GB, free: 78.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005806/2.521, allocations: 1.492 MB / 1.05 GB, free: 78.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/2.521, allocations: 138.2 kB / 1.05 GB, free: 78.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007786/2.522, allocations: 0.5219 MB / 1.051 GB, free: 77.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.237e-05/2.522, allocations: 33.52 kB / 1.051 GB, free: 77.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/2.522, allocations: 407.3 kB / 1.051 GB, free: 77.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/2.522, allocations: 144.6 kB / 1.051 GB, free: 77.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/2.522, allocations: 15.94 kB / 1.051 GB, free: 77.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.72e-05/2.523, allocations: 344.3 kB / 1.051 GB, free: 77.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/2.523, allocations: 194 kB / 1.052 GB, free: 76.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/2.524, allocations: 0.5161 MB / 1.052 GB, free: 76.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/2.524, allocations: 297 kB / 1.052 GB, free: 76.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.977e-06/2.524, allocations: 3.875 kB / 1.052 GB, free: 76.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001739/2.526, allocations: 0.807 MB / 1.053 GB, free: 76.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/2.526, allocations: 9.781 kB / 1.053 GB, free: 76.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/2.526, allocations: 10.34 kB / 1.053 GB, free: 76.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/2.528, allocations: 304.6 kB / 1.053 GB, free: 76.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/2.528, allocations: 134.6 kB / 1.054 GB, free: 76.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/2.529, allocations: 0.8945 MB / 1.054 GB, free: 75.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008688/2.53, allocations: 54.59 kB / 1.055 GB, free: 75.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/2.53, allocations: 72.11 kB / 1.055 GB, free: 75.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002098/2.531, allocations: 157.1 kB / 1.055 GB, free: 75.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/2.531, allocations: 70.19 kB / 1.055 GB, free: 75.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/2.533, allocations: 0.66 MB / 1.055 GB, free: 75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.19e-06/2.533, allocations: 5.062 kB / 1.055 GB, free: 75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.202e-06/2.533, allocations: 3.234 kB / 1.055 GB, free: 75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.527e-06/2.533, allocations: 0.6875 kB / 1.055 GB, free: 75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/2.535, allocations: 1.246 MB / 1.057 GB, free: 74.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/2.535, allocations: 0 / 1.057 GB, free: 74.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/2.537, allocations: 211.4 kB / 1.057 GB, free: 74.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/2.537, allocations: 18.05 kB / 1.057 GB, free: 74.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.933e-05/2.537, allocations: 23.33 kB / 1.057 GB, free: 74.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/2.54, allocations: 2.676 MB / 1.06 GB, free: 71.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/2.54, allocations: 4.844 kB / 1.06 GB, free: 71.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/2.542, allocations: 0.8414 MB / 1.06 GB, free: 71.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005359/2.543, allocations: 177.5 kB / 1.061 GB, free: 70.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/2.543, allocations: 15.56 kB / 1.061 GB, free: 70.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/2.544, allocations: 28.98 kB / 1.061 GB, free: 70.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/2.544, allocations: 36.44 kB / 1.061 GB, free: 70.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/2.545, allocations: 42.03 kB / 1.061 GB, free: 70.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001049/2.546, allocations: 413.7 kB / 1.061 GB, free: 70.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.263e-06/2.546, allocations: 0 / 1.061 GB, free: 70.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002898/2.549, allocations: 384.6 kB / 1.061 GB, free: 70.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.003135/2.552, allocations: 1.042 MB / 1.062 GB, free: 70.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002263/2.554, allocations: 0.5241 MB / 1.063 GB, free: 70.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.278e-06/2.554, allocations: 0 / 1.063 GB, free: 70.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/2.556, allocations: 370.5 kB / 1.063 GB, free: 70.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/2.559, allocations: 323.1 kB / 1.064 GB, free: 69.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/2.573, allocations: 2.418 MB / 1.066 GB, free: 69.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/2.574, allocations: 0.9447 MB / 1.067 GB, free: 68.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009294/2.574, allocations: 115.7 kB / 1.067 GB, free: 68.55 MB / 426.7 MB Notification: Performance of SimCode: time 2.717e-06/2.575, allocations: 0 / 1.067 GB, free: 68.55 MB / 426.7 MB Notification: Performance of Templates: time 0.04758/2.622, allocations: 20.57 MB / 1.087 GB, free: 54.08 MB / 426.7 MB