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.2_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 1.855/1.855, allocations: 194.9 MB / 210.6 MB, free: 8.145 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.546e-05, allocations: 4 kB / 258.8 MB, free: 7.875 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2849, allocations: 44.51 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1937/0.4787, allocations: 123.3 MB / 426.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2878/0.7666, allocations: 3.26 MB / 429.9 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.7668, allocations: 3.969 kB / 429.9 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.7671, allocations: 69.41 kB / 430 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.7694, allocations: 0.6945 MB / 430.7 MB, free: 1.719 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.7705, allocations: 270.1 kB / 430.9 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005275/0.771, allocations: 210.4 kB / 431.1 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.7711, allocations: 7.672 kB / 431.1 MB, free: 1.699 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007344/0.7718, allocations: 290.6 kB / 431.4 MB, free: 1.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.7721, allocations: 101.2 kB / 431.5 MB, free: 1.695 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00632/0.7784, allocations: 1.584 MB / 433.1 MB, free: 1.688 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004236/0.7789, allocations: 36.75 kB / 433.2 MB, free: 1.688 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.7791, allocations: 122.8 kB / 433.3 MB, free: 1.688 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.7793, allocations: 44.19 kB / 433.3 MB, free: 1.684 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.7813, allocations: 0.8626 MB / 434.2 MB, free: 1.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7813, allocations: 0 / 434.2 MB, free: 1.637 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7813, allocations: 0 / 434.2 MB, free: 1.637 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.7814, allocations: 0 / 434.2 MB, free: 1.637 MB / 362.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.002936/0.7843, allocations: 0.7161 MB / 434.9 MB, free: 17.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.7844, allocations: 13.91 kB / 434.9 MB, free: 17.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.7854, allocations: 119.8 kB / 435 MB, free: 17.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.7859, allocations: 265.3 kB / 435.3 MB, free: 16.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.786, allocations: 21.31 kB / 435.3 MB, free: 16.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.7861, allocations: 27.62 kB / 435.3 MB, free: 16.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.7877, allocations: 0.59 MB / 435.9 MB, free: 16.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.7877, allocations: 0.8594 kB / 435.9 MB, free: 16.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.7878, allocations: 13.08 kB / 435.9 MB, free: 16.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/0.7879, allocations: 25.22 kB / 436 MB, free: 16.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.7899, allocations: 0.6391 MB / 436.6 MB, free: 16.85 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.004114/0.794, allocations: 1.244 MB / 437.8 MB, free: 16.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.7956, allocations: 362 kB / 438.2 MB, free: 16.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002235/0.7978, allocations: 0.9328 MB / 439.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.7979, allocations: 37.19 kB / 439.2 MB, free: 15.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.785e-06/0.7979, allocations: 0 / 439.2 MB, free: 15.58 MB / 378.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.02498/0.8229, allocations: 3.479 MB / 442.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.823, allocations: 88.27 kB / 442.7 MB, free: 14.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.8232, allocations: 162.4 kB / 442.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.695e-05/0.8233, allocations: 31.55 kB / 442.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.8234, allocations: 182.4 kB / 443.1 MB, free: 14.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.8236, allocations: 175.2 kB / 443.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.889e-05/0.8237, allocations: 11.97 kB / 443.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8238, allocations: 335.5 kB / 443.6 MB, free: 13.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.8251, allocations: 265.1 kB / 443.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.8265, allocations: 421.8 kB / 444.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.8279, allocations: 307.4 kB / 444.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.8279, allocations: 6.812 kB / 444.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003261/0.8312, allocations: 0.7735 MB / 445.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.8312, allocations: 9.719 kB / 445.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.8312, allocations: 5.75 kB / 445.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/0.8315, allocations: 59.05 kB / 445.4 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.8336, allocations: 177 kB / 445.6 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007986/0.8344, allocations: 1.09 MB / 446.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.8358, allocations: 41.06 kB / 446.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.8359, allocations: 41.7 kB / 446.8 MB, free: 12.29 MB / 378.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.0003266/0.8362, allocations: 175.2 kB / 446.9 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.8364, allocations: 25.91 kB / 447 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.8401, allocations: 0.781 MB / 447.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.8401, allocations: 9.844 kB / 447.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.8401, allocations: 3.219 kB / 447.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.8401, allocations: 3.047 kB / 447.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005241/0.8454, allocations: 1.559 MB / 449.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.8454, allocations: 0 / 449.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/0.8475, allocations: 152.6 kB / 449.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.8478, allocations: 42.38 kB / 449.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.8479, allocations: 25.47 kB / 449.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003243/0.8512, allocations: 2.544 MB / 452.1 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.8513, allocations: 2.906 kB / 452.1 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006508/0.8578, allocations: 1.168 MB / 453.3 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.858, allocations: 99.55 kB / 453.4 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.8583, allocations: 11.84 kB / 453.4 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/0.8601, allocations: 44.88 kB / 453.4 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.8603, allocations: 41.48 kB / 453.5 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/0.8605, allocations: 31.59 kB / 453.5 MB, free: 8.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001901/0.8607, allocations: 124.5 kB / 453.6 MB, free: 8.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.8607, allocations: 0 / 453.6 MB, free: 8.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002576/0.8633, allocations: 378.3 kB / 454 MB, free: 8.234 MB / 378.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.003945/0.8673, allocations: 0.6873 MB / 454.7 MB, free: 8.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003169/0.8705, allocations: 0.6489 MB / 455.3 MB, free: 7.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.8705, allocations: 2.844 kB / 455.3 MB, free: 7.988 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.8722, allocations: 0.5273 MB / 455.8 MB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009783/0.8732, allocations: 92.86 kB / 455.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.8764, allocations: 1.166 MB / 457.1 MB, free: 7.121 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.8768, allocations: 0.7959 MB / 457.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00196/0.8788, allocations: 182.7 kB / 458.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/0.8794, allocations: 66.38 kB / 458.1 MB, free: 6.316 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.8794, allocations: 0 / 458.1 MB, free: 6.316 MB / 378.7 MB Notification: Performance of Templates: time 0.03397/0.9133, allocations: 14.56 MB / 472.7 MB, free: 15.77 MB / 394.7 MB