Running command: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 270 MB / 282.7 MB, free: 1.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.136e-05, allocations: 8 kB / 347 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3268, allocations: 61.88 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.954/2.281, allocations: 0.7324 GB / 1.132 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/2.281, allocations: 70.61 kB / 1.132 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2347/2.516, allocations: 63.49 MB / 1.194 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.007e-06/2.516, allocations: 0 / 1.194 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.085e-05/2.516, allocations: 4 kB / 1.194 GB, free: 131.3 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006785/2.516, allocations: 464.7 kB / 1.194 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/2.516, allocations: 8.031 kB / 1.194 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006713/2.523, allocations: 0.722 MB / 1.195 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/2.524, allocations: 283.8 kB / 1.195 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/2.524, allocations: 10.39 kB / 1.195 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/2.524, allocations: 19.19 kB / 1.195 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/2.525, allocations: 0.6401 MB / 1.196 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/2.525, allocations: 4 kB / 1.196 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/2.525, allocations: 15.39 kB / 1.196 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/2.526, allocations: 11.98 kB / 1.196 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/2.527, allocations: 0.6927 MB / 1.197 GB, free: 128.9 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.003034/2.53, allocations: 1.213 MB / 1.198 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/2.531, allocations: 284.6 kB / 1.198 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/2.531, allocations: 192 kB / 1.198 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008771/2.532, allocations: 372.1 kB / 1.199 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/2.532, allocations: 35.62 kB / 1.199 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 4.43e-06/2.532, allocations: 7.938 kB / 1.199 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.001014/2.533, allocations: 363.1 kB / 1.199 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/2.533, allocations: 87.67 kB / 1.199 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/2.533, allocations: 119.4 kB / 1.199 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/2.533, allocations: 35.58 kB / 1.199 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/2.533, allocations: 190.1 kB / 1.199 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.849e-05/2.533, allocations: 96.09 kB / 1.199 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/2.534, allocations: 9 kB / 1.199 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.671e-05/2.534, allocations: 320 kB / 1.2 GB, free: 126 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/2.534, allocations: 168 kB / 1.2 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/2.534, allocations: 264.1 kB / 1.2 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/2.535, allocations: 192.9 kB / 1.2 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.366e-06/2.535, allocations: 0 / 1.2 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001075/2.536, allocations: 485.2 kB / 1.201 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/2.536, allocations: 11.95 kB / 1.201 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/2.536, allocations: 4 kB / 1.201 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/2.536, allocations: 4 kB / 1.201 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/2.537, allocations: 81.94 kB / 1.201 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/2.537, allocations: 8.344 kB / 1.201 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/2.537, allocations: 35.45 kB / 1.201 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/2.537, allocations: 22.61 kB / 1.201 GB, free: 125 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001459/2.537, allocations: 122.7 kB / 1.201 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/2.538, allocations: 19.81 kB / 1.201 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/2.539, allocations: 451.5 kB / 1.202 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.129e-06/2.539, allocations: 4 kB / 1.202 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/2.539, allocations: 0 / 1.202 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.289e-06/2.539, allocations: 3.938 kB / 1.202 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000905/2.54, allocations: 0.5033 MB / 1.202 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.966e-06/2.54, allocations: 0 / 1.202 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/2.54, allocations: 59.88 kB / 1.202 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.665e-06/2.54, allocations: 7.953 kB / 1.202 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/2.54, allocations: 9 kB / 1.202 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.85e-06/2.54, allocations: 7.984 kB / 1.202 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.05e-06/2.54, allocations: 0 / 1.202 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/2.542, allocations: 0.6366 MB / 1.203 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/2.542, allocations: 96.84 kB / 1.203 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/2.542, allocations: 8 kB / 1.203 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/2.542, allocations: 23.98 kB / 1.203 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/2.542, allocations: 27.89 kB / 1.203 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/2.542, allocations: 15.98 kB / 1.203 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.614e-05/2.543, allocations: 99.27 kB / 1.203 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.23e-07/2.543, allocations: 0 / 1.203 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001015/2.544, allocations: 203.8 kB / 1.203 GB, free: 122.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.00146/2.545, allocations: 0.748 MB / 1.204 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008339/2.546, allocations: 388.4 kB / 1.204 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/2.546, allocations: 0 / 1.204 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000363/2.546, allocations: 201.7 kB / 1.204 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/2.547, allocations: 83.86 kB / 1.205 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/2.548, allocations: 0.8014 MB / 1.205 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/2.549, allocations: 0.7367 MB / 1.206 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/2.549, allocations: 39.41 kB / 1.206 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.956e-06/2.549, allocations: 0 / 1.206 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.01403/2.563, allocations: 9.462 MB / 1.215 GB, free: 110.3 MB / 0.5261 GB