Running command: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.285e-05, allocations: 7.984 kB / 269.3 MB, free: 6.414 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08544/0.08549, allocations: 47.58 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.007/2.093, allocations: 0.7379 GB / 1.047 GB, free: 99.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/2.093, allocations: 63.84 kB / 1.047 GB, free: 99.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5506/2.643, allocations: 107.2 MB / 1.152 GB, free: 116.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.187e-06/2.643, allocations: 0 / 1.152 GB, free: 116.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/2.644, allocations: 4.125 kB / 1.152 GB, free: 116.6 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003138/2.647, allocations: 0.7575 MB / 1.153 GB, free: 116.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/2.647, allocations: 9.406 kB / 1.153 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/2.65, allocations: 253.6 kB / 1.153 GB, free: 116.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/2.65, allocations: 292 kB / 1.153 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/2.65, allocations: 21.55 kB / 1.153 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/2.651, allocations: 30.78 kB / 1.153 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/2.652, allocations: 0.6101 MB / 1.154 GB, free: 116 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/2.652, allocations: 4.125 kB / 1.154 GB, free: 116 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/2.652, allocations: 15.56 kB / 1.154 GB, free: 116 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/2.652, allocations: 14.3 kB / 1.154 GB, free: 116 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/2.654, allocations: 0.6572 MB / 1.155 GB, free: 116 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.004843/2.659, allocations: 1.805 MB / 1.156 GB, free: 115.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008814/2.66, allocations: 383.7 kB / 1.157 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/2.66, allocations: 195.3 kB / 1.157 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/2.662, allocations: 0.9093 MB / 1.158 GB, free: 114.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/2.662, allocations: 40.45 kB / 1.158 GB, free: 114.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 4.127e-06/2.662, allocations: 0 / 1.158 GB, free: 114.3 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01298/2.675, allocations: 2.785 MB / 1.161 GB, free: 113.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/2.675, allocations: 82.3 kB / 1.161 GB, free: 113.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/2.675, allocations: 165.5 kB / 1.161 GB, free: 113.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.872e-05/2.675, allocations: 37.05 kB / 1.161 GB, free: 113.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/2.675, allocations: 173.5 kB / 1.161 GB, free: 113.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/2.676, allocations: 174.1 kB / 1.161 GB, free: 113 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/2.676, allocations: 12.62 kB / 1.161 GB, free: 113 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.607e-05/2.676, allocations: 335.3 kB / 1.162 GB, free: 112.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/2.676, allocations: 211 kB / 1.162 GB, free: 112.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/2.677, allocations: 370.9 kB / 1.162 GB, free: 112.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006044/2.677, allocations: 248.2 kB / 1.162 GB, free: 112.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.556e-06/2.678, allocations: 1.656 kB / 1.162 GB, free: 112.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001769/2.679, allocations: 0.6588 MB / 1.163 GB, free: 112.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/2.679, allocations: 12.5 kB / 1.163 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/2.679, allocations: 8.109 kB / 1.163 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002926/2.68, allocations: 56.8 kB / 1.163 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/2.681, allocations: 176.6 kB / 1.163 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000611/2.682, allocations: 1.076 MB / 1.164 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009644/2.683, allocations: 53.5 kB / 1.164 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/2.683, allocations: 38.2 kB / 1.164 GB, free: 111.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002313/2.683, allocations: 134.9 kB / 1.165 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/2.683, allocations: 28.5 kB / 1.165 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/2.685, allocations: 0.6791 MB / 1.165 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/2.686, allocations: 5.375 kB / 1.165 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/2.686, allocations: 3.125 kB / 1.165 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/2.686, allocations: 3.656 kB / 1.165 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/2.689, allocations: 1.463 MB / 1.167 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.935e-06/2.689, allocations: 2.312 kB / 1.167 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/2.691, allocations: 146.7 kB / 1.167 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/2.691, allocations: 46 kB / 1.167 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/2.691, allocations: 26.05 kB / 1.167 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/2.693, allocations: 2.534 MB / 1.169 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.891e-06/2.693, allocations: 1.656 kB / 1.169 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/2.695, allocations: 1.012 MB / 1.17 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/2.695, allocations: 99.17 kB / 1.17 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/2.695, allocations: 12.5 kB / 1.17 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/2.696, allocations: 49.08 kB / 1.171 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/2.696, allocations: 38.72 kB / 1.171 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/2.697, allocations: 37.97 kB / 1.171 GB, free: 107.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001247/2.697, allocations: 128.9 kB / 1.171 GB, free: 107.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.17e-07/2.697, allocations: 0 / 1.171 GB, free: 107.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002094/2.699, allocations: 437.8 kB / 1.171 GB, free: 107.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004056/2.703, allocations: 1.155 MB / 1.172 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001572/2.705, allocations: 0.5416 MB / 1.173 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/2.705, allocations: 0 / 1.173 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008753/2.705, allocations: 470.5 kB / 1.173 GB, free: 107 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008987/2.706, allocations: 96.09 kB / 1.173 GB, free: 107 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/2.708, allocations: 0.7397 MB / 1.174 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/2.709, allocations: 0.7902 MB / 1.175 GB, free: 106.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001855/2.71, allocations: 186.7 kB / 1.175 GB, free: 106.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/2.711, allocations: 59.08 kB / 1.175 GB, free: 106.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.783e-06/2.711, allocations: 0 / 1.175 GB, free: 106.1 MB / 426.7 MB Notification: Performance of Templates: time 0.04608/2.757, allocations: 24.74 MB / 1.199 GB, free: 104.7 MB / 426.7 MB