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.1_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 1.591/1.591, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.366e-05, allocations: 4 kB / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07815/0.07819, allocations: 38.76 MB / 266.9 MB, free: 0.4961 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4059/0.4841, allocations: 123.3 MB / 390.2 MB, free: 7.012 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006521/0.4907, allocations: 3.626 MB / 393.8 MB, free: 3.391 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.4909, allocations: 7.938 kB / 393.8 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.4913, allocations: 67.7 kB / 393.9 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.4937, allocations: 0.6774 MB / 394.6 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.4948, allocations: 276 kB / 394.8 MB, free: 2.367 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000542/0.4953, allocations: 208 kB / 395 MB, free: 2.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.4954, allocations: 4 kB / 395 MB, free: 2.156 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007063/0.4961, allocations: 283.2 kB / 395.3 MB, free: 1.879 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.4963, allocations: 103.7 kB / 395.4 MB, free: 1.777 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006227/0.5026, allocations: 1.532 MB / 397 MB, free: 248 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004136/0.5031, allocations: 36 kB / 397 MB, free: 212 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.5033, allocations: 115.7 kB / 397.1 MB, free: 96 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.5035, allocations: 40 kB / 397.1 MB, free: 56 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.5057, allocations: 0.8131 MB / 398 MB, free: 15.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5057, allocations: 4 kB / 398 MB, free: 15.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5057, allocations: 0 / 398 MB, free: 15.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.5057, allocations: 0 / 398 MB, free: 15.24 MB / 330.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.003071/0.5088, allocations: 0.7175 MB / 398.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.5089, allocations: 12.03 kB / 398.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.51, allocations: 119.5 kB / 398.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.5105, allocations: 262.7 kB / 399.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.5106, allocations: 20.56 kB / 399.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.5107, allocations: 24 kB / 399.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.5125, allocations: 0.5929 MB / 399.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.5126, allocations: 0 / 399.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/0.5127, allocations: 19.98 kB / 399.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.376e-05/0.5128, allocations: 24.38 kB / 399.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.515, allocations: 0.6385 MB / 400.4 MB, free: 12.72 MB / 330.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.004593/0.5197, allocations: 1.245 MB / 401.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.5213, allocations: 360.8 kB / 402 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002382/0.5238, allocations: 0.9315 MB / 402.9 MB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.5238, allocations: 38.56 kB / 402.9 MB, free: 9.922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 3.116e-06/0.5238, allocations: 0 / 402.9 MB, free: 9.922 MB / 330.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.02674/0.5506, allocations: 3.488 MB / 406.4 MB, free: 6.227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.5507, allocations: 85.11 kB / 406.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.5509, allocations: 162.3 kB / 406.7 MB, free: 5.961 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.305e-05/0.551, allocations: 29.7 kB / 406.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.5512, allocations: 180.1 kB / 406.9 MB, free: 5.742 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.5515, allocations: 177.5 kB / 407.1 MB, free: 5.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.5516, allocations: 8 kB / 407.1 MB, free: 5.559 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5517, allocations: 342.8 kB / 407.4 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.5531, allocations: 257.1 kB / 407.6 MB, free: 4.965 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.5546, allocations: 426 kB / 408.1 MB, free: 4.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.5562, allocations: 303.2 kB / 408.4 MB, free: 4.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.5562, allocations: 4 kB / 408.4 MB, free: 4.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003524/0.5597, allocations: 0.7735 MB / 409.1 MB, free: 3.398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.5598, allocations: 8.062 kB / 409.1 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.5598, allocations: 8 kB / 409.2 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.5601, allocations: 53.69 kB / 409.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/0.5623, allocations: 179.7 kB / 409.4 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009482/0.5633, allocations: 1.077 MB / 410.5 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.5648, allocations: 60.03 kB / 410.5 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.5649, allocations: 39.97 kB / 410.6 MB, free: 1.922 MB / 330.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.0003591/0.5653, allocations: 165.6 kB / 410.7 MB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.5655, allocations: 27.72 kB / 410.7 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.5695, allocations: 0.796 MB / 411.5 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.5695, allocations: 8 kB / 411.6 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.5695, allocations: 0 / 411.6 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.5695, allocations: 3.984 kB / 411.6 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005574/0.5751, allocations: 1.565 MB / 413.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.5752, allocations: 8.062 kB / 413.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002062/0.5773, allocations: 143.8 kB / 413.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000204/0.5775, allocations: 37.69 kB / 413.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.5776, allocations: 27.97 kB / 413.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/0.5799, allocations: 2.544 MB / 415.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.58, allocations: 7.969 kB / 415.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004734/0.5847, allocations: 1.159 MB / 417 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.5849, allocations: 100.8 kB / 417.1 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.5851, allocations: 12 kB / 417.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.5865, allocations: 47.91 kB / 417.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.5867, allocations: 39.94 kB / 417.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.5868, allocations: 39.91 kB / 417.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001423/0.587, allocations: 123.2 kB / 417.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.587, allocations: 0 / 417.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001671/0.5887, allocations: 359.8 kB / 417.7 MB, free: 10.24 MB / 346.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.003621/0.5923, allocations: 0.6626 MB / 418.4 MB, free: 9.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003375/0.5957, allocations: 0.6559 MB / 419.1 MB, free: 8.906 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.5957, allocations: 0 / 419.1 MB, free: 8.906 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.5976, allocations: 0.5291 MB / 419.6 MB, free: 8.352 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009753/0.5986, allocations: 89.33 kB / 419.7 MB, free: 8.266 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.6025, allocations: 1.206 MB / 420.9 MB, free: 7.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.603, allocations: 0.8007 MB / 421.7 MB, free: 6.184 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002019/0.6051, allocations: 191.1 kB / 421.9 MB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000553/0.6056, allocations: 63.39 kB / 421.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6057, allocations: 0 / 421.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of Templates: time 0.03819/0.6439, allocations: 14.56 MB / 436.5 MB, free: 7.375 MB / 362.7 MB