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_trunk_cpp_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 2.162/2.162, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.001e-05, allocations: 0 / 294.5 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 50.41 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.5361/0.6531, allocations: 123.4 MB / 468.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006343/0.6595, allocations: 3.276 MB / 471.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.6598, allocations: 0 / 471.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.6602, allocations: 71.7 kB / 471.7 MB, free: 12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002608/0.6628, allocations: 0.688 MB / 472.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.6641, allocations: 275.3 kB / 472.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006604/0.6648, allocations: 212 kB / 472.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.6649, allocations: 0 / 472.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008406/0.6657, allocations: 291.2 kB / 473.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.666, allocations: 103.7 kB / 473.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006849/0.6729, allocations: 1.583 MB / 474.8 MB, free: 8.863 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004801/0.6734, allocations: 40 kB / 474.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.6737, allocations: 119.7 kB / 475 MB, free: 8.707 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.6739, allocations: 40 kB / 475 MB, free: 8.668 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.6765, allocations: 0.8699 MB / 475.9 MB, free: 7.801 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6765, allocations: 0 / 475.9 MB, free: 7.801 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.6766, allocations: 0 / 475.9 MB, free: 7.801 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.6766, allocations: 0 / 475.9 MB, free: 7.801 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.003261/0.6798, allocations: 0.7098 MB / 476.6 MB, free: 7.043 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.6799, allocations: 8.031 kB / 476.6 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.6811, allocations: 123.5 kB / 476.7 MB, free: 6.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.6817, allocations: 262.7 kB / 477 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.6818, allocations: 16.56 kB / 477 MB, free: 6.602 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.6819, allocations: 28 kB / 477 MB, free: 6.574 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.6839, allocations: 0.5929 MB / 477.6 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.684, allocations: 3.906 kB / 477.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.6841, allocations: 12 kB / 477.6 MB, free: 5.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.516e-05/0.6841, allocations: 24.42 kB / 477.6 MB, free: 5.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.6866, allocations: 0.6385 MB / 478.3 MB, free: 5.293 MB / 362.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.004814/0.6914, allocations: 1.241 MB / 479.5 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.6932, allocations: 356.7 kB / 479.9 MB, free: 3.625 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002724/0.6959, allocations: 0.9394 MB / 480.8 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/0.6961, allocations: 42.5 kB / 480.9 MB, free: 2.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 4.208e-06/0.6961, allocations: 4 kB / 480.9 MB, free: 2.484 MB / 362.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.03756/0.7336, allocations: 3.488 MB / 484.3 MB, free: 14.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/0.7338, allocations: 81.11 kB / 484.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.7341, allocations: 158.4 kB / 484.6 MB, free: 14.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.7342, allocations: 41.64 kB / 484.6 MB, free: 14.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.7345, allocations: 250.5 kB / 484.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.7348, allocations: 173.6 kB / 485 MB, free: 14.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.735, allocations: 12 kB / 485 MB, free: 14.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.7352, allocations: 338.8 kB / 485.4 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.7371, allocations: 261.1 kB / 485.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/0.7393, allocations: 422.2 kB / 486 MB, free: 12.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.7416, allocations: 301.2 kB / 486.3 MB, free: 12.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.7416, allocations: 4 kB / 486.3 MB, free: 12.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.005167/0.7468, allocations: 0.7696 MB / 487.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/0.7469, allocations: 12.12 kB / 487.1 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.7469, allocations: 4 kB / 487.1 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.7473, allocations: 57.62 kB / 487.2 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/0.7502, allocations: 175.7 kB / 487.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.7516, allocations: 1.089 MB / 488.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.7537, allocations: 44.14 kB / 488.5 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/0.7539, allocations: 35.98 kB / 488.5 MB, free: 10.44 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.000545/0.7545, allocations: 181.6 kB / 488.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.7547, allocations: 23.72 kB / 488.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00573/0.7605, allocations: 0.7889 MB / 489.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.7606, allocations: 4 kB / 489.5 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.7606, allocations: 3.984 kB / 489.5 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.7606, allocations: 4 kB / 489.5 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007941/0.7686, allocations: 1.555 MB / 491.1 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.7686, allocations: 0 / 491.1 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002877/0.7715, allocations: 151.7 kB / 491.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/0.7719, allocations: 41.69 kB / 491.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/0.7721, allocations: 20.08 kB / 491.3 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/0.7749, allocations: 2.552 MB / 493.8 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.775, allocations: 3.984 kB / 493.8 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005039/0.78, allocations: 1.167 MB / 495 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.7802, allocations: 104.8 kB / 495.1 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.7804, allocations: 12 kB / 495.1 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/0.7819, allocations: 43.95 kB / 495.2 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.782, allocations: 43.84 kB / 495.2 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.7822, allocations: 31.97 kB / 495.2 MB, free: 3.227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001509/0.7823, allocations: 126.8 kB / 495.4 MB, free: 3.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7824, allocations: 4 kB / 495.4 MB, free: 3.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001798/0.7842, allocations: 375.8 kB / 495.7 MB, free: 2.734 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.003806/0.788, allocations: 0.6665 MB / 496.4 MB, free: 2.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003495/0.7915, allocations: 0.6466 MB / 497 MB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.7916, allocations: 0 / 497 MB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.7935, allocations: 0.5365 MB / 497.6 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.7946, allocations: 91.94 kB / 497.7 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.7981, allocations: 1.21 MB / 498.9 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.7987, allocations: 0.7891 MB / 499.7 MB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007917/0.7995, allocations: 79.36 kB / 499.8 MB, free: 14.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7995, allocations: 0 / 499.8 MB, free: 14.59 MB / 394.7 MB Notification: Performance of Templates: time 0.03397/0.8335, allocations: 14.72 MB / 0.5024 GB, free: 15.87 MB / 410.7 MB