Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 2.183/2.183, allocations: 194.9 MB / 211.2 MB, free: 8.055 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.62e-05/3.613e-05, allocations: 0 / 258.8 MB, free: 8.426 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3437, allocations: 44.51 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2362/0.58, allocations: 121.5 MB / 424.7 MB, free: 3.855 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003708/0.5838, allocations: 1.177 MB / 425.9 MB, free: 2.676 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.5839, allocations: 4 kB / 425.9 MB, free: 2.672 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.5843, allocations: 27.88 kB / 426 MB, free: 2.645 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.5857, allocations: 247.2 kB / 426.2 MB, free: 2.402 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007351/0.5865, allocations: 131.5 kB / 426.3 MB, free: 2.273 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.5868, allocations: 79.88 kB / 426.4 MB, free: 2.195 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.218e-05/0.5869, allocations: 4 kB / 426.4 MB, free: 2.191 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.5872, allocations: 75.75 kB / 426.5 MB, free: 2.117 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.5874, allocations: 43.89 kB / 426.5 MB, free: 2.074 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.5897, allocations: 435.4 kB / 426.9 MB, free: 1.648 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.59, allocations: 24 kB / 427 MB, free: 1.625 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.5901, allocations: 27.91 kB / 427 MB, free: 1.598 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.5902, allocations: 12 kB / 427 MB, free: 1.586 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.5914, allocations: 261.2 kB / 427.3 MB, free: 1.332 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5914, allocations: 4 kB / 427.3 MB, free: 1.328 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5915, allocations: 3.938 kB / 427.3 MB, free: 1.324 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.5915, allocations: 0 / 427.3 MB, free: 1.324 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008753/0.5924, allocations: 395.4 kB / 427.7 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.5925, allocations: 8.031 kB / 427.7 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005559/0.5981, allocations: 199.6 kB / 427.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.5986, allocations: 207 kB / 428.1 MB, free: 456 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.5987, allocations: 8.188 kB / 428.1 MB, free: 448 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.5988, allocations: 8 kB / 428.1 MB, free: 440 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.6001, allocations: 205.4 kB / 428.3 MB, free: 232 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.6001, allocations: 0 / 428.3 MB, free: 232 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.6003, allocations: 12 kB / 428.3 MB, free: 220 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.6003, allocations: 0 / 428.3 MB, free: 220 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3509/0.9512, allocations: 234.5 kB / 428.5 MB, free: 123.5 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.004659/0.956, allocations: 0.6687 MB / 429.2 MB, free: 123.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.9572, allocations: 188.7 kB / 429.4 MB, free: 123.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000477/0.9577, allocations: 101.7 kB / 429.5 MB, free: 123 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.9577, allocations: 33.06 kB / 429.5 MB, free: 123 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 4.208e-06/0.9578, allocations: 3.062 kB / 429.5 MB, free: 123 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.01344/0.9712, allocations: 1.536 MB / 431 MB, free: 122.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.9713, allocations: 53.59 kB / 431.1 MB, free: 122.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.9715, allocations: 106.6 kB / 431.2 MB, free: 122 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.9715, allocations: 31.02 kB / 431.2 MB, free: 121.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.9716, allocations: 162.9 kB / 431.4 MB, free: 121.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.9718, allocations: 74.19 kB / 431.5 MB, free: 121.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.9718, allocations: 5.188 kB / 431.5 MB, free: 121.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.9719, allocations: 315.3 kB / 431.8 MB, free: 121.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005151/0.9724, allocations: 95.27 kB / 431.9 MB, free: 121.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005323/0.973, allocations: 122.8 kB / 432 MB, free: 121.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000546/0.9736, allocations: 100.3 kB / 432.1 MB, free: 121.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9736, allocations: 0 / 432.1 MB, free: 121.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001457/0.9751, allocations: 284.8 kB / 432.4 MB, free: 121.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.9751, allocations: 5.594 kB / 432.4 MB, free: 121.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.9752, allocations: 3.781 kB / 432.4 MB, free: 121.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/0.9754, allocations: 24.25 kB / 432.4 MB, free: 121.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.9765, allocations: 57.05 kB / 432.5 MB, free: 121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005042/0.977, allocations: 0.5369 MB / 433 MB, free: 120.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/0.9778, allocations: 9.125 kB / 433 MB, free: 120.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-05/0.9779, allocations: 11.05 kB / 433 MB, free: 120.5 MB / 362.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.0002487/0.9781, allocations: 126.7 kB / 433.1 MB, free: 120.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.9783, allocations: 11.3 kB / 433.1 MB, free: 120.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.9801, allocations: 323.8 kB / 433.5 MB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.9801, allocations: 2.5 kB / 433.5 MB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.9802, allocations: 4 kB / 433.5 MB, free: 120.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.9802, allocations: 1.344 kB / 433.5 MB, free: 120.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.9825, allocations: 0.6793 MB / 434.1 MB, free: 119.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.9826, allocations: 0 / 434.1 MB, free: 119.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.9837, allocations: 52.98 kB / 434.2 MB, free: 119.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001661/0.9839, allocations: 21.55 kB / 434.2 MB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/0.9839, allocations: 7.25 kB / 434.2 MB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.9852, allocations: 1.275 MB / 435.5 MB, free: 118.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.9853, allocations: 1.375 kB / 435.5 MB, free: 118.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.9872, allocations: 489.6 kB / 436 MB, free: 117.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.9874, allocations: 92.12 kB / 436.1 MB, free: 117.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/0.9875, allocations: 11.72 kB / 436.1 MB, free: 117.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/0.9882, allocations: 4.031 kB / 436.1 MB, free: 117.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.9883, allocations: 31.2 kB / 436.1 MB, free: 117.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.027e-05/0.9884, allocations: 7.938 kB / 436.1 MB, free: 117.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.707e-05/0.9885, allocations: 95.16 kB / 436.2 MB, free: 117.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9885, allocations: 0 / 436.2 MB, free: 117.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001075/0.9896, allocations: 132.3 kB / 436.3 MB, free: 117.6 MB / 362.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.001306/0.991, allocations: 240.2 kB / 436.6 MB, free: 117.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.9923, allocations: 232.4 kB / 436.8 MB, free: 117.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.9924, allocations: 4.188 kB / 436.8 MB, free: 117.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007464/0.9931, allocations: 228.6 kB / 437 MB, free: 117.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/0.9939, allocations: 44.73 kB / 437.1 MB, free: 117.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.9956, allocations: 0.5955 MB / 437.7 MB, free: 116.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.9958, allocations: 0.7049 MB / 438.4 MB, free: 115.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.9963, allocations: 27.42 kB / 438.4 MB, free: 115.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.533e-06/0.9963, allocations: 4 kB / 438.4 MB, free: 115.7 MB / 362.7 MB Notification: Performance of Templates: time 0.01559/1.012, allocations: 5.414 MB / 443.8 MB, free: 110.3 MB / 362.7 MB