Running command: translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 1.039/1.039, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.605e-05, allocations: 0 / 151.4 MB, free: 15.63 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1514, allocations: 25.15 MB / 176.5 MB, free: 8 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.696/3.848, allocations: 1.453 GB / 1.626 GB, free: 49.52 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/3.848, allocations: 69.81 kB / 1.626 GB, free: 49.52 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.969/5.817, allocations: 442.6 MB / 2.058 GB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.854e-06/5.817, allocations: 0 / 2.058 GB, free: 9.602 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.196e-05/5.817, allocations: 19.61 kB / 2.058 GB, free: 9.586 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006336/5.823, allocations: 1.727 MB / 2.06 GB, free: 7.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/5.823, allocations: 8.031 kB / 2.06 GB, free: 7.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/5.824, allocations: 86.06 kB / 2.06 GB, free: 7.719 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/5.825, allocations: 471 kB / 2.06 GB, free: 7.223 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/5.825, allocations: 75.02 kB / 2.06 GB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/5.825, allocations: 52 kB / 2.06 GB, free: 7.094 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/5.827, allocations: 0.7339 MB / 2.061 GB, free: 6.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/5.827, allocations: 7.938 kB / 2.061 GB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/5.827, allocations: 24 kB / 2.061 GB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/5.827, allocations: 12 kB / 2.061 GB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/5.829, allocations: 0.5957 MB / 2.062 GB, free: 5.68 MB / 266.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.2481/6.077, allocations: 30.53 MB / 2.091 GB, free: 19.44 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009935/6.078, allocations: 400.8 kB / 2.092 GB, free: 19.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/6.078, allocations: 204.8 kB / 2.092 GB, free: 19.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4692/6.548, allocations: 122 MB / 2.211 GB, free: 41.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008829/6.549, allocations: 398.1 kB / 2.211 GB, free: 41.53 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004178/6.549, allocations: 56.42 kB / 2.212 GB, free: 41.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 3.657e-06/6.549, allocations: 4 kB / 2.212 GB, free: 41.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.01408/6.563, allocations: 2.554 MB / 2.214 GB, free: 40.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/6.563, allocations: 216.8 kB / 2.214 GB, free: 40.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/6.564, allocations: 387.6 kB / 2.215 GB, free: 40.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/6.564, allocations: 36.41 kB / 2.215 GB, free: 40.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/6.564, allocations: 355 kB / 2.215 GB, free: 40.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/6.564, allocations: 187.1 kB / 2.215 GB, free: 40.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/6.564, allocations: 17.59 kB / 2.215 GB, free: 40.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/6.564, allocations: 336.5 kB / 2.215 GB, free: 39.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/6.565, allocations: 214.6 kB / 2.216 GB, free: 39.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/6.566, allocations: 383.2 kB / 2.216 GB, free: 39.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/6.566, allocations: 320.9 kB / 2.216 GB, free: 39.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.569e-06/6.566, allocations: 3.625 kB / 2.216 GB, free: 39.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001855/6.568, allocations: 0.8006 MB / 2.217 GB, free: 39.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/6.568, allocations: 67.62 kB / 2.217 GB, free: 39.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/6.568, allocations: 8.578 kB / 2.217 GB, free: 39.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005122/6.573, allocations: 345.1 kB / 2.218 GB, free: 39.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/6.574, allocations: 139.5 kB / 2.218 GB, free: 39.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009074/6.575, allocations: 0.6867 MB / 2.218 GB, free: 38.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008952/6.576, allocations: 72.86 kB / 2.218 GB, free: 38.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/6.576, allocations: 39.19 kB / 2.218 GB, free: 38.94 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: controller.x:VARIABLE(start = controller.x_start ) "State of block" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 16 (SteamValve.state_b.phase,SteamValve.state_a.phase,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,$PRE.q_F_Tab.nextEvent,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002998/6.576, allocations: 215.5 kB / 2.219 GB, free: 38.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/6.576, allocations: 60.81 kB / 2.219 GB, free: 38.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003819/6.58, allocations: 1.83 MB / 2.22 GB, free: 38.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/6.58, allocations: 20.08 kB / 2.221 GB, free: 38.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.558e-06/6.58, allocations: 2.625 kB / 2.221 GB, free: 38.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/6.58, allocations: 3.234 kB / 2.221 GB, free: 38.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003871/6.584, allocations: 2.402 MB / 2.223 GB, free: 38.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.9e-06/6.584, allocations: 4 kB / 2.223 GB, free: 38.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/6.585, allocations: 100.9 kB / 2.223 GB, free: 38.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003281/6.588, allocations: 413.5 kB / 2.223 GB, free: 38.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/6.588, allocations: 19.66 kB / 2.223 GB, free: 38.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009817/6.589, allocations: 0.8175 MB / 2.224 GB, free: 37.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.403e-06/6.589, allocations: 0 / 2.224 GB, free: 37.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/6.593, allocations: 1.991 MB / 2.226 GB, free: 37.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/6.593, allocations: 176.1 kB / 2.226 GB, free: 37.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/6.593, allocations: 16.69 kB / 2.226 GB, free: 37.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006929/6.594, allocations: 61.58 kB / 2.226 GB, free: 37.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/6.594, allocations: 45.17 kB / 2.226 GB, free: 37.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/6.594, allocations: 42.05 kB / 2.226 GB, free: 37.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005373/6.595, allocations: 341.3 kB / 2.227 GB, free: 37.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.07e-07/6.595, allocations: 0 / 2.227 GB, free: 37.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.005349/6.6, allocations: 1.38 MB / 2.228 GB, free: 37.03 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 18 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse13.phase,$cse16.phase,$cse17.phase,$cse17.region,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent) * Number of discrete states: 10 (Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.009382/6.61, allocations: 2.023 MB / 2.23 GB, free: 36.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001976/6.612, allocations: 0.9781 MB / 2.231 GB, free: 36.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.085e-06/6.612, allocations: 0 / 2.231 GB, free: 36.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/6.613, allocations: 0.7389 MB / 2.232 GB, free: 36.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/6.615, allocations: 273.6 kB / 2.232 GB, free: 36.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/6.618, allocations: 1.316 MB / 2.233 GB, free: 36.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/6.618, allocations: 0.9859 MB / 2.234 GB, free: 35.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/6.619, allocations: 78.27 kB / 2.234 GB, free: 35.31 MB / 314.7 MB Notification: Performance of SimCode: time 2.199e-06/6.619, allocations: 4 kB / 2.234 GB, free: 35.3 MB / 314.7 MB Notification: Performance of Templates: time 0.06045/6.679, allocations: 37.37 MB / 2.271 GB, free: 28.01 MB / 314.7 MB