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_4.0.0_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.853e-05, allocations: 4 kB / 292.1 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09117/0.09122, allocations: 50.41 MB / 342.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.011/2.103, allocations: 0.707 GB / 1.041 GB, free: 120 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/2.103, allocations: 71.02 kB / 1.042 GB, free: 120 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3633/2.466, allocations: 109.6 MB / 1.149 GB, free: 28.58 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.036e-06/2.466, allocations: 4 kB / 1.149 GB, free: 28.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/2.466, allocations: 8 kB / 1.149 GB, free: 28.57 MB / 442.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.004196/2.471, allocations: 0.7556 MB / 1.149 GB, free: 27.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/2.471, allocations: 8.031 kB / 1.149 GB, free: 27.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004069/2.475, allocations: 251.4 kB / 1.15 GB, free: 27.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007613/2.476, allocations: 294.5 kB / 1.15 GB, free: 27.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/2.476, allocations: 20.56 kB / 1.15 GB, free: 27.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/2.476, allocations: 28 kB / 1.15 GB, free: 27.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/2.478, allocations: 0.6209 MB / 1.15 GB, free: 26.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/2.478, allocations: 3.953 kB / 1.151 GB, free: 26.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/2.478, allocations: 16 kB / 1.151 GB, free: 26.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/2.478, allocations: 16.42 kB / 1.151 GB, free: 26.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/2.481, allocations: 0.6533 MB / 1.151 GB, free: 25.82 MB / 442.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.007398/2.488, allocations: 1.803 MB / 1.153 GB, free: 23.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/2.49, allocations: 393 kB / 1.153 GB, free: 23.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/2.49, allocations: 188.7 kB / 1.153 GB, free: 23.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002621/2.493, allocations: 0.916 MB / 1.154 GB, free: 22.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/2.493, allocations: 42.52 kB / 1.154 GB, free: 22.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 6.867e-06/2.493, allocations: 4 kB / 1.154 GB, free: 22.21 MB / 442.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.02266/2.516, allocations: 2.776 MB / 1.157 GB, free: 19.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/2.516, allocations: 85.05 kB / 1.157 GB, free: 19.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/2.516, allocations: 162.4 kB / 1.157 GB, free: 19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/2.517, allocations: 33.7 kB / 1.157 GB, free: 18.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/2.517, allocations: 168.1 kB / 1.158 GB, free: 18.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/2.517, allocations: 185.5 kB / 1.158 GB, free: 18.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/2.517, allocations: 12 kB / 1.158 GB, free: 18.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/2.517, allocations: 334.8 kB / 1.158 GB, free: 18.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009576/2.518, allocations: 209.5 kB / 1.158 GB, free: 18.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009592/2.519, allocations: 366 kB / 1.159 GB, free: 17.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/2.52, allocations: 250 kB / 1.159 GB, free: 17.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.044e-06/2.52, allocations: 4 kB / 1.159 GB, free: 17.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003095/2.523, allocations: 0.6586 MB / 1.16 GB, free: 16.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/2.524, allocations: 8 kB / 1.16 GB, free: 16.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/2.524, allocations: 4 kB / 1.16 GB, free: 16.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/2.524, allocations: 58.25 kB / 1.16 GB, free: 16.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/2.527, allocations: 183.7 kB / 1.16 GB, free: 16.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008913/2.528, allocations: 1.081 MB / 1.161 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/2.529, allocations: 47.91 kB / 1.161 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/2.53, allocations: 39.97 kB / 1.161 GB, free: 15.24 MB / 442.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.0003176/2.53, allocations: 136.9 kB / 1.161 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/2.53, allocations: 31.72 kB / 1.161 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003585/2.534, allocations: 0.6728 MB / 1.162 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/2.534, allocations: 7.984 kB / 1.162 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/2.534, allocations: 11.89 kB / 1.162 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/2.534, allocations: 3.984 kB / 1.162 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006662/2.541, allocations: 1.462 MB / 1.163 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/2.541, allocations: 4 kB / 1.163 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/2.543, allocations: 151.7 kB / 1.163 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002754/2.543, allocations: 41.69 kB / 1.163 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001895/2.544, allocations: 23.94 kB / 1.163 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/2.547, allocations: 2.517 MB / 1.166 GB, free: 9.801 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.963e-06/2.547, allocations: 3.984 kB / 1.166 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/2.55, allocations: 1.017 MB / 1.167 GB, free: 8.684 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/2.55, allocations: 96.83 kB / 1.167 GB, free: 8.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/2.55, allocations: 16.05 kB / 1.167 GB, free: 8.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/2.552, allocations: 43.98 kB / 1.167 GB, free: 8.512 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/2.552, allocations: 43.88 kB / 1.167 GB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/2.552, allocations: 39.91 kB / 1.167 GB, free: 8.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001658/2.553, allocations: 126.5 kB / 1.167 GB, free: 8.309 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.397e-06/2.553, allocations: 0 / 1.167 GB, free: 8.309 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002987/2.556, allocations: 439.7 kB / 1.168 GB, free: 7.879 MB / 442.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.005865/2.561, allocations: 1.142 MB / 1.169 GB, free: 6.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00154/2.563, allocations: 0.5385 MB / 1.169 GB, free: 6.191 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.555e-06/2.563, allocations: 3.938 kB / 1.169 GB, free: 6.188 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007913/2.564, allocations: 484.4 kB / 1.17 GB, free: 5.695 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/2.565, allocations: 103.8 kB / 1.17 GB, free: 5.594 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/2.566, allocations: 0.7236 MB / 1.171 GB, free: 4.824 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/2.567, allocations: 0.7932 MB / 1.171 GB, free: 4.004 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001755/2.569, allocations: 183.1 kB / 1.171 GB, free: 3.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/2.569, allocations: 63.38 kB / 1.172 GB, free: 3.758 MB / 442.7 MB Notification: Performance of SimCode: time 1.831e-06/2.569, allocations: 0 / 1.172 GB, free: 3.758 MB / 442.7 MB Notification: Performance of Templates: time 0.2969/2.866, allocations: 24.77 MB / 1.196 GB, free: 111 MB / 442.7 MB