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.038/1.038, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.409e-05, allocations: 0 / 151.4 MB, free: 15.64 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.144, allocations: 25.15 MB / 176.5 MB, free: 12 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.506/1.65, allocations: 0.667 GB / 0.8394 GB, free: 57.35 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/1.65, allocations: 63.97 kB / 0.8394 GB, free: 57.29 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4254/2.075, allocations: 94.3 MB / 0.9315 GB, free: 52.46 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.358e-06/2.075, allocations: 0 / 0.9315 GB, free: 52.46 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/2.075, allocations: 6.656 kB / 0.9315 GB, free: 52.46 MB / 234.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.00263/2.078, allocations: 0.7745 MB / 0.9323 GB, free: 51.95 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/2.078, allocations: 7.625 kB / 0.9323 GB, free: 51.95 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/2.078, allocations: 31.03 kB / 0.9323 GB, free: 51.93 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/2.079, allocations: 261.2 kB / 0.9326 GB, free: 51.7 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/2.079, allocations: 21.72 kB / 0.9326 GB, free: 51.69 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.961e-05/2.079, allocations: 31.16 kB / 0.9326 GB, free: 51.68 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/2.08, allocations: 0.535 MB / 0.9332 GB, free: 51.36 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/2.08, allocations: 0 / 0.9332 GB, free: 51.36 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/2.08, allocations: 16 kB / 0.9332 GB, free: 51.34 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/2.08, allocations: 16.38 kB / 0.9332 GB, free: 51.32 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008973/2.081, allocations: 0.5751 MB / 0.9337 GB, free: 50.75 MB / 234.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003087/2.084, allocations: 1.427 MB / 0.9351 GB, free: 49.21 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007037/2.085, allocations: 337.4 kB / 0.9355 GB, free: 48.87 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/2.085, allocations: 132 kB / 0.9356 GB, free: 48.73 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003039/2.088, allocations: 2.072 MB / 0.9376 GB, free: 46.38 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/2.088, allocations: 42.56 kB / 0.9376 GB, free: 46.32 MB / 234.7 MB Notification: Performance of pre-optimization done (n=35): time 3.776e-06/2.088, allocations: 0 / 0.9376 GB, free: 46.32 MB / 234.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: medium2.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: medium1.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01019/2.098, allocations: 2.389 MB / 0.94 GB, free: 43.77 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/2.098, allocations: 85.05 kB / 0.9401 GB, free: 43.66 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/2.099, allocations: 154.5 kB / 0.9402 GB, free: 43.51 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/2.099, allocations: 37.7 kB / 0.9402 GB, free: 43.46 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/2.099, allocations: 238.5 kB / 0.9405 GB, free: 43.23 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/2.099, allocations: 177.6 kB / 0.9406 GB, free: 43.05 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/2.099, allocations: 8 kB / 0.9407 GB, free: 43.05 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/2.099, allocations: 338.8 kB / 0.941 GB, free: 42.71 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/2.099, allocations: 145.3 kB / 0.9411 GB, free: 42.57 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/2.1, allocations: 301.2 kB / 0.9414 GB, free: 42.21 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/2.1, allocations: 192.5 kB / 0.9416 GB, free: 42.02 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.561e-06/2.1, allocations: 7.875 kB / 0.9416 GB, free: 42.01 MB / 234.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001249/2.102, allocations: 0.5492 MB / 0.9421 GB, free: 41.45 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/2.102, allocations: 12.77 kB / 0.9421 GB, free: 41.44 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/2.102, allocations: 4 kB / 0.9421 GB, free: 41.44 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002519/2.102, allocations: 49.7 kB / 0.9422 GB, free: 41.38 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009555/2.103, allocations: 167.9 kB / 0.9424 GB, free: 41.22 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005942/2.103, allocations: 1.085 MB / 0.9434 GB, free: 40.08 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006513/2.104, allocations: 36.16 kB / 0.9434 GB, free: 40.05 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-05/2.104, allocations: 39.98 kB / 0.9435 GB, free: 40.01 MB / 234.7 MB Warning: Assuming fixed start value for the following 4 variables: medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real medium1.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium1.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" 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: 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.0002829/2.105, allocations: 169.2 kB / 0.9436 GB, free: 39.84 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/2.105, allocations: 35.67 kB / 0.9437 GB, free: 39.81 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/2.106, allocations: 0.5566 MB / 0.9442 GB, free: 39.24 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.649e-06/2.106, allocations: 4 kB / 0.9442 GB, free: 39.23 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/2.106, allocations: 4 kB / 0.9442 GB, free: 39.23 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.75e-06/2.106, allocations: 3.984 kB / 0.9442 GB, free: 39.23 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/2.109, allocations: 1.119 MB / 0.9453 GB, free: 38.03 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.19e-06/2.109, allocations: 4 kB / 0.9453 GB, free: 38.02 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008924/2.11, allocations: 131.8 kB / 0.9455 GB, free: 37.89 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001739/2.11, allocations: 41.69 kB / 0.9455 GB, free: 37.85 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.348e-05/2.11, allocations: 28.2 kB / 0.9455 GB, free: 37.82 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/2.111, allocations: 2.526 MB / 0.948 GB, free: 35.03 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/2.111, allocations: 11.88 kB / 0.948 GB, free: 35.02 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/2.113, allocations: 0.8716 MB / 0.9489 GB, free: 34.05 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/2.113, allocations: 148.7 kB / 0.949 GB, free: 33.88 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/2.113, allocations: 27.92 kB / 0.949 GB, free: 33.86 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/2.114, allocations: 27.97 kB / 0.949 GB, free: 33.83 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.79e-05/2.114, allocations: 43.89 kB / 0.9491 GB, free: 33.79 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.112e-05/2.114, allocations: 27.97 kB / 0.9491 GB, free: 33.76 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001087/2.114, allocations: 132.4 kB / 0.9492 GB, free: 33.63 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.63e-07/2.114, allocations: 0 / 0.9492 GB, free: 33.63 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001845/2.116, allocations: 439.6 kB / 0.9497 GB, free: 33.2 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium1.p,medium1.T,medium2.p,medium2.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.003956/2.12, allocations: 1.209 MB / 0.9508 GB, free: 31.98 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/2.121, allocations: 425.3 kB / 0.9512 GB, free: 31.57 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/2.121, allocations: 0 / 0.9512 GB, free: 31.57 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006226/2.122, allocations: 419.4 kB / 0.9516 GB, free: 31.14 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/2.123, allocations: 88.22 kB / 0.9517 GB, free: 31.05 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/2.125, allocations: 0.7877 MB / 0.9525 GB, free: 30.22 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/2.125, allocations: 0.7932 MB / 0.9533 GB, free: 29.4 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/2.125, allocations: 67.39 kB / 0.9533 GB, free: 29.34 MB / 234.7 MB Notification: Performance of SimCode: time 1.865e-06/2.125, allocations: 0 / 0.9533 GB, free: 29.34 MB / 234.7 MB Notification: Performance of Templates: time 0.02471/2.15, allocations: 16.95 MB / 0.9699 GB, free: 12.42 MB / 234.7 MB