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.234/1.234, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.172e-05, allocations: 4 kB / 154.5 MB, free: 2.832 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05651/0.05657, allocations: 25.18 MB / 179.7 MB, free: 9.609 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.2261/0.2828, allocations: 39.92 MB / 219.6 MB, free: 4.223 MB / 170.7 MB Notification: Performance of NFInst.instExpressions: time 0.02963/0.3124, allocations: 16.97 MB / 236.6 MB, free: 9.316 MB / 186.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000983/0.3135, allocations: 24.84 kB / 236.6 MB, free: 9.309 MB / 186.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.3148, allocations: 298.5 kB / 236.9 MB, free: 9.051 MB / 186.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.3292, allocations: 3.538 MB / 240.4 MB, free: 5.988 MB / 186.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00607/0.3353, allocations: 1.468 MB / 241.9 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.3372, allocations: 0.6315 MB / 242.5 MB, free: 4.328 MB / 186.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008404/0.3381, allocations: 327.2 kB / 242.8 MB, free: 4.125 MB / 186.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008336/0.3465, allocations: 3.192 MB / 246 MB, free: 1.285 MB / 186.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007867/0.3544, allocations: 2.998 MB / 249 MB, free: 14.28 MB / 202.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0202/0.3747, allocations: 6.731 MB / 255.8 MB, free: 7.543 MB / 202.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002883/0.3776, allocations: 412 kB / 256.2 MB, free: 7.141 MB / 202.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.378, allocations: 123.5 kB / 256.3 MB, free: 7.02 MB / 202.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003715/0.3784, allocations: 76 kB / 256.4 MB, free: 6.945 MB / 202.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009137/0.3875, allocations: 3.041 MB / 259.4 MB, free: 3.898 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3876, allocations: 0 / 259.4 MB, free: 3.898 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3876, allocations: 0 / 259.4 MB, free: 3.898 MB / 202.7 MB Notification: Performance of Transformations before backend: time 2.325e-05/0.3877, allocations: 0 / 259.4 MB, free: 3.898 MB / 202.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.004633/0.3923, allocations: 1.38 MB / 260.8 MB, free: 2.453 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.3924, allocations: 12.03 kB / 260.8 MB, free: 2.441 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003211/0.3927, allocations: 79.16 kB / 260.9 MB, free: 2.363 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.3938, allocations: 456.6 kB / 261.3 MB, free: 1.875 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.3939, allocations: 71.02 kB / 261.4 MB, free: 1.801 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.3941, allocations: 56 kB / 261.4 MB, free: 1.746 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.3965, allocations: 0.7494 MB / 262.2 MB, free: 0.9492 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.3966, allocations: 7.875 kB / 262.2 MB, free: 0.9414 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.3967, allocations: 31.98 kB / 262.2 MB, free: 0.9102 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.3967, allocations: 15.98 kB / 262.2 MB, free: 0.8945 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.399, allocations: 0.656 MB / 262.9 MB, free: 240 kB / 202.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.107/0.506, allocations: 30.83 MB / 293.7 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.5079, allocations: 447.8 kB / 294.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3871/0.895, allocations: 58.65 MB / 352.8 MB, free: 57.85 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.8963, allocations: 402.5 kB / 353.2 MB, free: 57.43 MB / 250.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000409/0.8967, allocations: 57.22 kB / 353.3 MB, free: 57.4 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 3.236e-06/0.8967, allocations: 4 kB / 353.3 MB, free: 57.4 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.01742/0.9142, allocations: 2.952 MB / 356.2 MB, free: 54.4 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.9143, allocations: 222 kB / 356.4 MB, free: 54.14 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005631/0.9149, allocations: 382.4 kB / 356.8 MB, free: 53.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.343e-05/0.915, allocations: 37.7 kB / 356.9 MB, free: 53.71 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.9152, allocations: 366.8 kB / 357.2 MB, free: 53.36 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.9154, allocations: 190.3 kB / 357.4 MB, free: 53.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.9154, allocations: 8 kB / 357.4 MB, free: 53.17 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.9155, allocations: 338.8 kB / 357.7 MB, free: 52.83 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000726/0.9162, allocations: 233.2 kB / 358 MB, free: 52.6 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008318/0.9171, allocations: 397.7 kB / 358.4 MB, free: 52.14 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/0.9179, allocations: 337.9 kB / 358.7 MB, free: 51.8 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.9179, allocations: 4 kB / 358.7 MB, free: 51.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002231/0.9202, allocations: 0.8275 MB / 359.5 MB, free: 50.95 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/0.9203, allocations: 75.34 kB / 359.6 MB, free: 50.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.9203, allocations: 4.531 kB / 359.6 MB, free: 50.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006869/0.9272, allocations: 340.4 kB / 359.9 MB, free: 50.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009717/0.9282, allocations: 131.8 kB / 360.1 MB, free: 50.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.9293, allocations: 0.691 MB / 360.7 MB, free: 49.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009213/0.9303, allocations: 68.02 kB / 360.8 MB, free: 49.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.9304, allocations: 32.97 kB / 360.8 MB, free: 49.58 MB / 250.7 MB Warning: Assuming fixed start value for the following 1 variables: controller.x:VARIABLE(start = controller.x_start fixed = true ) "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.0005124/0.9309, allocations: 286.9 kB / 361.1 MB, free: 49.29 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.9311, allocations: 59.34 kB / 361.2 MB, free: 49.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/0.9354, allocations: 1.839 MB / 363 MB, free: 47.38 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/0.9354, allocations: 19.97 kB / 363 MB, free: 47.36 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.9355, allocations: 4 kB / 363 MB, free: 47.36 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.9355, allocations: 0 / 363 MB, free: 47.36 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004147/0.9396, allocations: 2.422 MB / 365.5 MB, free: 44.89 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.9397, allocations: 0 / 365.5 MB, free: 44.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007486/0.9405, allocations: 99.88 kB / 365.6 MB, free: 44.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004096/0.9446, allocations: 415.9 kB / 366 MB, free: 44.38 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/0.9448, allocations: 31.94 kB / 366 MB, free: 44.35 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.9459, allocations: 0.8138 MB / 366.8 MB, free: 43.51 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.946, allocations: 0 / 366.8 MB, free: 43.51 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003888/0.9499, allocations: 2.034 MB / 368.9 MB, free: 41.45 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.9502, allocations: 176 kB / 369 MB, free: 41.26 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.9504, allocations: 19.98 kB / 369 MB, free: 41.24 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008054/0.9512, allocations: 55.81 kB / 369.1 MB, free: 41.18 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.9514, allocations: 52.48 kB / 369.1 MB, free: 41.13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-05/0.9515, allocations: 27.98 kB / 369.2 MB, free: 41.11 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005256/0.952, allocations: 346.8 kB / 369.5 MB, free: 40.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.663e-06/0.952, allocations: 0 / 369.5 MB, free: 40.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.003947/0.956, allocations: 1.263 MB / 370.8 MB, free: 39.61 MB / 250.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.phase,$cse6.phase,$cse6.region,$cse8.region3boundary,$cse9.region3boundary,$cse15.phase,$cse18.phase,$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.007369/0.9634, allocations: 1.486 MB / 372.3 MB, free: 38.3 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002762/0.9662, allocations: 1.021 MB / 373.3 MB, free: 37.26 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.9663, allocations: 0 / 373.3 MB, free: 37.26 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001642/0.9679, allocations: 0.78 MB / 374.1 MB, free: 36.46 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.9702, allocations: 273.5 kB / 374.3 MB, free: 36.2 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.9737, allocations: 2.115 MB / 376.4 MB, free: 34.05 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.9742, allocations: 0.9914 MB / 377.4 MB, free: 33.03 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.9745, allocations: 75.41 kB / 377.5 MB, free: 32.96 MB / 250.7 MB Notification: Performance of SimCode: time 1.453e-06/0.9746, allocations: 4 kB / 377.5 MB, free: 32.96 MB / 250.7 MB Notification: Performance of Templates: time 0.2109/1.185, allocations: 34.96 MB / 412.5 MB, free: 94.27 MB / 250.7 MB