Running command: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 1.059/1.059, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.59e-05/2.58e-05, allocations: 4 kB / 154.5 MB, free: 2.836 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05774/0.05779, allocations: 25.17 MB / 179.7 MB, free: 9.625 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.5592/0.617, allocations: 129.3 MB / 309 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005276/0.6224, allocations: 3.323 MB / 312.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.6226, allocations: 2.438 kB / 312.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.623, allocations: 72.22 kB / 312.4 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.6256, allocations: 0.6902 MB / 313.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.6266, allocations: 268.7 kB / 313.4 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004543/0.6271, allocations: 208.2 kB / 313.6 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.6271, allocations: 4.875 kB / 313.6 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006345/0.6278, allocations: 282.4 kB / 313.9 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.628, allocations: 96.39 kB / 314 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006278/0.6343, allocations: 1.534 MB / 315.5 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004285/0.6348, allocations: 37.31 kB / 315.5 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.6349, allocations: 116.3 kB / 315.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.6351, allocations: 38.06 kB / 315.7 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.6372, allocations: 0.8216 MB / 316.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6372, allocations: 0 / 316.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.606e-06/0.6372, allocations: 0 / 316.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.6372, allocations: 3.938 kB / 316.5 MB, free: 15.32 MB / 250.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.002995/0.6402, allocations: 0.7113 MB / 317.2 MB, free: 14.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.6403, allocations: 8.688 kB / 317.2 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.6404, allocations: 33.5 kB / 317.2 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.6409, allocations: 259.4 kB / 317.5 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.641, allocations: 24.95 kB / 317.5 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.574e-05/0.6411, allocations: 26.28 kB / 317.6 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.6427, allocations: 0.5761 MB / 318.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.6428, allocations: 2.375 kB / 318.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.6428, allocations: 19.47 kB / 318.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/0.6429, allocations: 18.92 kB / 318.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.645, allocations: 0.6526 MB / 318.8 MB, free: 14.27 MB / 250.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.004437/0.6494, allocations: 1.429 MB / 320.3 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.6516, allocations: 438.7 kB / 320.7 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003543/0.6552, allocations: 1.514 MB / 322.2 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.6553, allocations: 39.88 kB / 322.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 3.566e-06/0.6553, allocations: 0 / 322.2 MB, free: 11.75 MB / 250.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=50): time 0.02191/0.6772, allocations: 3.07 MB / 325.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.6773, allocations: 86.95 kB / 325.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.6776, allocations: 156.1 kB / 325.5 MB, free: 9.934 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.159e-05/0.6776, allocations: 34.7 kB / 325.6 MB, free: 9.902 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.6778, allocations: 235.8 kB / 325.8 MB, free: 9.691 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.678, allocations: 183.7 kB / 326 MB, free: 9.559 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.6781, allocations: 11 kB / 326 MB, free: 9.559 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6782, allocations: 332.9 kB / 326.3 MB, free: 9.238 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009655/0.6792, allocations: 191 kB / 326.5 MB, free: 9.199 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.6803, allocations: 337 kB / 326.8 MB, free: 8.992 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.6814, allocations: 227.3 kB / 327.1 MB, free: 8.961 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.6814, allocations: 6.375 kB / 327.1 MB, free: 8.957 MB / 250.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00264/0.6841, allocations: 0.6373 MB / 327.7 MB, free: 8.801 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.6841, allocations: 11.34 kB / 327.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.6842, allocations: 6.062 kB / 327.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002832/0.6845, allocations: 60.23 kB / 327.8 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.6863, allocations: 171.5 kB / 327.9 MB, free: 8.734 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008849/0.6872, allocations: 1.074 MB / 329 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/0.6881, allocations: 42.94 kB / 329.1 MB, free: 7.672 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.6882, allocations: 41.14 kB / 329.1 MB, free: 7.664 MB / 250.7 MB Warning: Assuming fixed start value for the following 4 variables: medium1.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" fixed = true nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium1.p:VARIABLE(flow=false min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" fixed = true nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium2.p:VARIABLE(flow=false min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0004884/0.6887, allocations: 219.8 kB / 329.3 MB, free: 7.512 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.6889, allocations: 28.47 kB / 329.3 MB, free: 7.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/0.6923, allocations: 0.6554 MB / 330 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.6924, allocations: 10.88 kB / 330 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.6924, allocations: 7.984 kB / 330 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.6924, allocations: 2.438 kB / 330 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004288/0.6967, allocations: 1.236 MB / 331.3 MB, free: 6.574 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.6968, allocations: 3.094 kB / 331.3 MB, free: 6.574 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.6982, allocations: 140.7 kB / 331.4 MB, free: 6.543 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/0.6985, allocations: 42.41 kB / 331.4 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.477e-05/0.6986, allocations: 26.22 kB / 331.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.7009, allocations: 2.534 MB / 334 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.701, allocations: 13.03 kB / 334 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.7046, allocations: 1.014 MB / 335 MB, free: 3.379 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.7049, allocations: 150.5 kB / 335.2 MB, free: 3.25 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.7051, allocations: 13.77 kB / 335.2 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/0.706, allocations: 37.06 kB / 335.2 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.7061, allocations: 45.95 kB / 335.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.925e-05/0.7062, allocations: 37.22 kB / 335.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.7064, allocations: 127.2 kB / 335.4 MB, free: 3.117 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7064, allocations: 0 / 335.4 MB, free: 3.117 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001827/0.7082, allocations: 361.2 kB / 335.8 MB, free: 3.062 MB / 250.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 (50): * Single equations (assignments): 48 * 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.004052/0.7123, allocations: 0.7319 MB / 336.5 MB, free: 2.73 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002605/0.7149, allocations: 0.5063 MB / 337 MB, free: 2.637 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.715, allocations: 2.906 kB / 337 MB, free: 2.637 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.7165, allocations: 489.4 kB / 337.5 MB, free: 2.352 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.7176, allocations: 100.7 kB / 337.6 MB, free: 2.316 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.7212, allocations: 1.217 MB / 338.8 MB, free: 1.477 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.7218, allocations: 0.7967 MB / 339.6 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005478/0.7223, allocations: 76.77 kB / 339.7 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7224, allocations: 0 / 339.7 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of Templates: time 0.03309/0.7555, allocations: 14.16 MB / 353.8 MB, free: 4.109 MB / 266.7 MB