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_cpp_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 194.9 MB / 211.2 MB, free: 8.836 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.442e-05, allocations: 0 / 258.8 MB, free: 9.207 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3231, allocations: 44.5 MB / 303.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2261/0.5493, allocations: 123.3 MB / 426.6 MB, free: 2.105 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3033/0.8526, allocations: 3.273 MB / 429.9 MB, free: 1.785 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.8529, allocations: 1.594 kB / 429.9 MB, free: 1.785 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.8532, allocations: 73.05 kB / 429.9 MB, free: 1.785 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.8556, allocations: 0.6905 MB / 430.6 MB, free: 1.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.8569, allocations: 278 kB / 430.9 MB, free: 1.754 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006311/0.8575, allocations: 210.4 kB / 431.1 MB, free: 1.754 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.8576, allocations: 3.125 kB / 431.1 MB, free: 1.754 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007768/0.8584, allocations: 286.4 kB / 431.4 MB, free: 1.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.8587, allocations: 100.7 kB / 431.5 MB, free: 1.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006993/0.8657, allocations: 1.587 MB / 433.1 MB, free: 1.738 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005839/0.8663, allocations: 37.34 kB / 433.1 MB, free: 1.738 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.8665, allocations: 126 kB / 433.2 MB, free: 1.738 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.8668, allocations: 44.84 kB / 433.3 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.8693, allocations: 0.863 MB / 434.1 MB, free: 1.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8693, allocations: 0 / 434.1 MB, free: 1.688 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.8693, allocations: 0 / 434.1 MB, free: 1.688 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.8694, allocations: 2.969 kB / 434.2 MB, free: 1.688 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.003215/0.8726, allocations: 0.7033 MB / 434.9 MB, free: 17.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.8727, allocations: 13.16 kB / 434.9 MB, free: 17.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.8739, allocations: 120.8 kB / 435 MB, free: 17.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.8744, allocations: 266.2 kB / 435.2 MB, free: 16.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.8744, allocations: 20.25 kB / 435.3 MB, free: 16.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.8745, allocations: 32.39 kB / 435.3 MB, free: 16.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.8762, allocations: 0.5872 MB / 435.9 MB, free: 16.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.8763, allocations: 0.8594 kB / 435.9 MB, free: 16.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-05/0.8763, allocations: 16.41 kB / 435.9 MB, free: 16.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.473e-05/0.8764, allocations: 19.89 kB / 435.9 MB, free: 16.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.8785, allocations: 0.6424 MB / 436.6 MB, free: 16.9 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.0043/0.8828, allocations: 1.245 MB / 437.8 MB, free: 16.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.8844, allocations: 360.8 kB / 438.2 MB, free: 16.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002362/0.8868, allocations: 0.9322 MB / 439.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.8869, allocations: 39.88 kB / 439.1 MB, free: 15.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.895e-06/0.8869, allocations: 0 / 439.1 MB, free: 15.63 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.02622/0.9131, allocations: 3.483 MB / 442.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.9132, allocations: 90.08 kB / 442.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.9134, allocations: 160.9 kB / 442.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.9136, allocations: 31.64 kB / 442.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.9137, allocations: 251.9 kB / 443.1 MB, free: 14.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.9139, allocations: 173.2 kB / 443.3 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.914, allocations: 9.812 kB / 443.3 MB, free: 13.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.9142, allocations: 337.1 kB / 443.6 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.9155, allocations: 267.2 kB / 443.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.9169, allocations: 421.4 kB / 444.3 MB, free: 13.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.9183, allocations: 308 kB / 444.6 MB, free: 13.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.9183, allocations: 2.875 kB / 444.6 MB, free: 13.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003363/0.9217, allocations: 0.7727 MB / 445.4 MB, free: 13.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.9218, allocations: 6.125 kB / 445.4 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.9218, allocations: 5.062 kB / 445.4 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/0.9221, allocations: 64.94 kB / 445.5 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.9243, allocations: 173.8 kB / 445.6 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009267/0.9252, allocations: 1.084 MB / 446.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.9267, allocations: 45.39 kB / 446.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.9269, allocations: 38.2 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.0003633/0.9272, allocations: 179 kB / 447 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.9274, allocations: 25.84 kB / 447 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/0.9312, allocations: 0.7825 MB / 447.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.9313, allocations: 10.19 kB / 447.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.9313, allocations: 0 / 447.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.9313, allocations: 3.094 kB / 447.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00529/0.9366, allocations: 1.554 MB / 449.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.9367, allocations: 4.938 kB / 449.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/0.9387, allocations: 150.9 kB / 449.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/0.939, allocations: 44.09 kB / 449.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.9391, allocations: 26.67 kB / 449.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/0.9415, allocations: 2.547 MB / 452.1 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.9416, allocations: 6.781 kB / 452.1 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004593/0.9462, allocations: 1.172 MB / 453.3 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.9464, allocations: 100.7 kB / 453.4 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.9466, allocations: 13.75 kB / 453.4 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.948, allocations: 38.53 kB / 453.4 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.9482, allocations: 42.34 kB / 453.5 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.9483, allocations: 35.78 kB / 453.5 MB, free: 8.344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.9485, allocations: 125.8 kB / 453.6 MB, free: 8.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9485, allocations: 0 / 453.6 MB, free: 8.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00183/0.9503, allocations: 378.6 kB / 454 MB, free: 8.219 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.003757/0.9541, allocations: 0.6779 MB / 454.7 MB, free: 8.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003257/0.9574, allocations: 0.6529 MB / 455.3 MB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.9575, allocations: 0 / 455.3 MB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.9593, allocations: 0.5255 MB / 455.9 MB, free: 7.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.9603, allocations: 95.03 kB / 456 MB, free: 7.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.9637, allocations: 1.197 MB / 457.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.9643, allocations: 0.7932 MB / 458 MB, free: 6.371 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00078/0.9651, allocations: 80.34 kB / 458 MB, free: 6.359 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.9651, allocations: 0 / 458 MB, free: 6.359 MB / 378.7 MB Notification: Performance of Templates: time 0.03379/0.9989, allocations: 14.77 MB / 472.8 MB, free: 15.71 MB / 394.7 MB