Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(ModelicaTest): time 2.42/2.42, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.381e-05/4.386e-05, allocations: 7.984 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.383, allocations: 54.85 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2266/0.6097, allocations: 121.5 MB / 484.3 MB, free: 4.051 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.6121, allocations: 1.165 MB / 485.5 MB, free: 2.883 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.6122, allocations: 0 / 485.5 MB, free: 2.883 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.6125, allocations: 43.78 kB / 485.5 MB, free: 2.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.6136, allocations: 239.2 kB / 485.8 MB, free: 2.605 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.6143, allocations: 123.6 kB / 485.9 MB, free: 2.484 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.6145, allocations: 83.81 kB / 486 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.6146, allocations: 0 / 486 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.6148, allocations: 79.8 kB / 486 MB, free: 2.324 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.615, allocations: 39.91 kB / 486.1 MB, free: 2.285 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.6166, allocations: 431.4 kB / 486.5 MB, free: 1.863 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.6168, allocations: 20 kB / 486.5 MB, free: 1.844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.777e-05/0.6169, allocations: 35.91 kB / 486.6 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.617, allocations: 8 kB / 486.6 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000772/0.6177, allocations: 257.3 kB / 486.8 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6178, allocations: 0 / 486.8 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6178, allocations: 0 / 486.8 MB, free: 1.551 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.6178, allocations: 0 / 486.8 MB, free: 1.551 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006647/0.6185, allocations: 403.3 kB / 487.2 MB, free: 1.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.6185, allocations: 8.031 kB / 487.2 MB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003759/0.6223, allocations: 195.6 kB / 487.4 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.6227, allocations: 214.8 kB / 487.6 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.6228, allocations: 4.188 kB / 487.6 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.6228, allocations: 15.94 kB / 487.6 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007594/0.6236, allocations: 203 kB / 487.8 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6236, allocations: 0 / 487.8 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.6237, allocations: 4 kB / 487.8 MB, free: 444 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.6237, allocations: 8 kB / 487.9 MB, free: 436 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.6248, allocations: 241.5 kB / 488.1 MB, free: 196 kB / 410.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.002994/0.6278, allocations: 0.6766 MB / 488.8 MB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.6286, allocations: 186.5 kB / 488.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003874/0.629, allocations: 101.1 kB / 489 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.629, allocations: 34.56 kB / 489.1 MB, free: 15.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 4.829e-06/0.6291, allocations: 0 / 489.1 MB, free: 15.11 MB / 426.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.0102/0.6393, allocations: 1.536 MB / 490.6 MB, free: 13.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.6394, allocations: 59.41 kB / 490.7 MB, free: 13.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.6395, allocations: 105 kB / 490.8 MB, free: 13.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.6396, allocations: 25.7 kB / 490.8 MB, free: 13.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.6397, allocations: 174.6 kB / 491 MB, free: 13.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.6398, allocations: 67 kB / 491 MB, free: 13.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.6398, allocations: 4 kB / 491 MB, free: 13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.64, allocations: 322.8 kB / 491.4 MB, free: 12.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.6404, allocations: 87.95 kB / 491.4 MB, free: 12.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.6408, allocations: 126.8 kB / 491.6 MB, free: 12.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.6412, allocations: 98.61 kB / 491.7 MB, free: 12.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6413, allocations: 0 / 491.7 MB, free: 12.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001091/0.6424, allocations: 282.4 kB / 491.9 MB, free: 12.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.6424, allocations: 8 kB / 491.9 MB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.6424, allocations: 0 / 491.9 MB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001924/0.6426, allocations: 24.84 kB / 492 MB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008319/0.6435, allocations: 55.95 kB / 492 MB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005025/0.644, allocations: 0.5406 MB / 492.6 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005592/0.6446, allocations: 11.98 kB / 492.6 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.6447, allocations: 12 kB / 492.6 MB, free: 11.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.6449, allocations: 125.8 kB / 492.7 MB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.645, allocations: 11.86 kB / 492.7 MB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.6464, allocations: 319.1 kB / 493 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.6464, allocations: 4 kB / 493 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6464, allocations: 0 / 493 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6464, allocations: 0 / 493 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.6483, allocations: 0.6732 MB / 493.7 MB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.6483, allocations: 4 kB / 493.7 MB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008744/0.6492, allocations: 51.89 kB / 493.8 MB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.6494, allocations: 24.94 kB / 493.8 MB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/0.6494, allocations: 4 kB / 493.8 MB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.6507, allocations: 1.28 MB / 495.1 MB, free: 8.684 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.6507, allocations: 7.984 kB / 495.1 MB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.6522, allocations: 485.1 kB / 495.6 MB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.6523, allocations: 85.05 kB / 495.6 MB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.6524, allocations: 8 kB / 495.6 MB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006044/0.653, allocations: 11.98 kB / 495.7 MB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.6531, allocations: 15.97 kB / 495.7 MB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.6532, allocations: 12.06 kB / 495.7 MB, free: 8.008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.163e-05/0.6533, allocations: 91.25 kB / 495.8 MB, free: 7.918 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6533, allocations: 4 kB / 495.8 MB, free: 7.914 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007448/0.654, allocations: 131.9 kB / 495.9 MB, free: 7.785 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009414/0.655, allocations: 243 kB / 496.1 MB, free: 7.539 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.6561, allocations: 239.7 kB / 496.4 MB, free: 7.309 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6561, allocations: 0 / 496.4 MB, free: 7.309 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006264/0.6567, allocations: 236.6 kB / 496.6 MB, free: 7.066 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.6574, allocations: 46.84 kB / 496.7 MB, free: 7.023 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.6587, allocations: 0.584 MB / 497.2 MB, free: 6.402 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.6591, allocations: 0.7243 MB / 498 MB, free: 5.652 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.6594, allocations: 23.42 kB / 498 MB, free: 5.629 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6594, allocations: 0 / 498 MB, free: 5.629 MB / 426.7 MB Notification: Performance of Templates: time 0.01377/0.6732, allocations: 5.376 MB / 0.4916 GB, free: 268 kB / 426.7 MB