Running command: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadModel(ModelicaTest): time 2.38/2.38, allocations: 270 MB / 282.7 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.457e-05, allocations: 4 kB / 347 MB, free: 3.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3203, allocations: 61.88 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.638/1.958, allocations: 0.7079 GB / 1.107 GB, free: 29.24 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/1.959, allocations: 71.95 kB / 1.107 GB, free: 29.17 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4198/2.379, allocations: 40.58 MB / 1.147 GB, free: 191 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.211e-06/2.379, allocations: 3.375 kB / 1.147 GB, free: 191 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.392e-05/2.379, allocations: 3.844 kB / 1.147 GB, free: 191 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008943/2.38, allocations: 0.5025 MB / 1.147 GB, free: 190.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/2.38, allocations: 9.312 kB / 1.147 GB, free: 190.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/2.383, allocations: 381.8 kB / 1.148 GB, free: 190.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/2.384, allocations: 261.1 kB / 1.148 GB, free: 190.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/2.384, allocations: 15.44 kB / 1.148 GB, free: 190.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/2.384, allocations: 22.88 kB / 1.148 GB, free: 190.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/2.385, allocations: 449.6 kB / 1.148 GB, free: 190.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/2.385, allocations: 1.641 kB / 1.148 GB, free: 190.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-05/2.385, allocations: 10.12 kB / 1.148 GB, free: 190.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/2.385, allocations: 3.781 kB / 1.148 GB, free: 190.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/2.386, allocations: 470.1 kB / 1.149 GB, free: 190.3 MB / 0.5261 GB 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.002809/2.389, allocations: 0.9865 MB / 1.15 GB, free: 189.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/2.39, allocations: 272.4 kB / 1.15 GB, free: 189.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/2.39, allocations: 137.8 kB / 1.15 GB, free: 189.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/2.392, allocations: 0.7459 MB / 1.151 GB, free: 189.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/2.392, allocations: 44.94 kB / 1.151 GB, free: 189.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 4.842e-06/2.392, allocations: 0 / 1.151 GB, free: 189.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29): time 0.0008112/2.392, allocations: 279.2 kB / 1.151 GB, free: 189.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/2.393, allocations: 85.14 kB / 1.151 GB, free: 189 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.02e-05/2.393, allocations: 109.1 kB / 1.151 GB, free: 188.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/2.393, allocations: 28.39 kB / 1.152 GB, free: 188.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/2.393, allocations: 181.3 kB / 1.152 GB, free: 188.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.304e-05/2.393, allocations: 110.5 kB / 1.152 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/2.393, allocations: 7.25 kB / 1.152 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.874e-05/2.393, allocations: 321.3 kB / 1.152 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/2.393, allocations: 104 kB / 1.152 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/2.393, allocations: 185.7 kB / 1.152 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/2.394, allocations: 135.1 kB / 1.153 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.862e-06/2.394, allocations: 1.812 kB / 1.153 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007769/2.395, allocations: 346.1 kB / 1.153 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/2.395, allocations: 6.656 kB / 1.153 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/2.395, allocations: 5.688 kB / 1.153 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/2.395, allocations: 3.406 kB / 1.153 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/2.395, allocations: 79.8 kB / 1.153 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/2.395, allocations: 9.328 kB / 1.153 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/2.396, allocations: 32.44 kB / 1.153 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/2.396, allocations: 14.06 kB / 1.153 GB, free: 188.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001329/2.396, allocations: 122.8 kB / 1.153 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/2.396, allocations: 23.11 kB / 1.153 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008664/2.397, allocations: 355.2 kB / 1.153 GB, free: 188 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.44e-06/2.397, allocations: 3.094 kB / 1.153 GB, free: 188 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.537e-06/2.397, allocations: 3 kB / 1.153 GB, free: 188 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/2.397, allocations: 3.953 kB / 1.153 GB, free: 188 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007191/2.398, allocations: 362 kB / 1.154 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.837e-06/2.398, allocations: 0 / 1.154 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/2.398, allocations: 63.11 kB / 1.154 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.508e-06/2.398, allocations: 0 / 1.154 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/2.398, allocations: 13.23 kB / 1.154 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/2.398, allocations: 2.25 kB / 1.154 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.229e-06/2.398, allocations: 3.938 kB / 1.154 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/2.399, allocations: 0.5357 MB / 1.154 GB, free: 187.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/2.399, allocations: 90.39 kB / 1.155 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/2.399, allocations: 8.781 kB / 1.155 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/2.4, allocations: 15.77 kB / 1.155 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/2.4, allocations: 25 kB / 1.155 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/2.4, allocations: 25.55 kB / 1.155 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.952e-05/2.4, allocations: 84.59 kB / 1.155 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.03e-07/2.4, allocations: 4 kB / 1.155 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001231/2.401, allocations: 269.4 kB / 1.155 GB, free: 187.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001767/2.403, allocations: 0.7533 MB / 1.156 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006654/2.404, allocations: 271.4 kB / 1.156 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.891e-06/2.404, allocations: 2.5 kB / 1.156 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004368/2.404, allocations: 138.1 kB / 1.156 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/2.405, allocations: 76.69 kB / 1.156 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/2.406, allocations: 0.6427 MB / 1.157 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/2.406, allocations: 0.7466 MB / 1.157 GB, free: 186 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/2.407, allocations: 35.28 kB / 1.158 GB, free: 186 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/2.407, allocations: 0 / 1.158 GB, free: 186 MB / 0.5261 GB Notification: Performance of Templates: time 0.01462/2.421, allocations: 9.102 MB / 1.166 GB, free: 183.6 MB / 0.5261 GB