Running command: translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 2.051/2.051, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.241e-05, allocations: 4 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09155, allocations: 50.41 MB / 342.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.602/7.693, allocations: 2.838 GB / 3.172 GB, free: 99.47 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/7.693, allocations: 85.11 kB / 3.172 GB, free: 99.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355/10.05, allocations: 0.4908 GB / 3.663 GB, free: 44.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.976e-06/10.05, allocations: 0 / 3.663 GB, free: 44.47 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.441e-05/10.05, allocations: 23.55 kB / 3.663 GB, free: 44.47 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.006124/10.05, allocations: 1.853 MB / 3.665 GB, free: 43.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/10.05, allocations: 11.59 kB / 3.665 GB, free: 43.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/10.06, allocations: 238.5 kB / 3.665 GB, free: 43.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/10.06, allocations: 0.5125 MB / 3.666 GB, free: 43.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/10.06, allocations: 44.41 kB / 3.666 GB, free: 43.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/10.06, allocations: 65.48 kB / 3.666 GB, free: 43.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/10.06, allocations: 0.9241 MB / 3.667 GB, free: 43.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/10.06, allocations: 5.438 kB / 3.667 GB, free: 43.06 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.381e-05/10.06, allocations: 26.38 kB / 3.667 GB, free: 43.06 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/10.06, allocations: 15.66 kB / 3.667 GB, free: 43.06 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/10.06, allocations: 0.707 MB / 3.668 GB, free: 43.05 MB / 458.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.005462/10.07, allocations: 4.182 MB / 3.672 GB, free: 40.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/10.07, allocations: 0.6089 MB / 3.672 GB, free: 40.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/10.07, allocations: 273.2 kB / 3.673 GB, free: 40.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09541/10.17, allocations: 39.01 MB / 3.711 GB, free: 18.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001919/10.17, allocations: 0.5965 MB / 3.711 GB, free: 18.16 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000584/10.17, allocations: 84.75 kB / 3.711 GB, free: 18.13 MB / 458.7 MB Notification: Performance of pre-optimization done (n=57): time 4.04e-06/10.17, allocations: 0 / 3.711 GB, free: 18.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.01222/10.18, allocations: 3.046 MB / 3.714 GB, free: 17.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006219/10.18, allocations: 274.9 kB / 3.715 GB, free: 33.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006353/10.18, allocations: 423.9 kB / 3.715 GB, free: 32.97 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/10.18, allocations: 36.95 kB / 3.715 GB, free: 32.94 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/10.18, allocations: 352.7 kB / 3.715 GB, free: 32.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/10.18, allocations: 208.4 kB / 3.716 GB, free: 32.58 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/10.18, allocations: 13.44 kB / 3.716 GB, free: 32.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/10.18, allocations: 337.7 kB / 3.716 GB, free: 32.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/10.18, allocations: 258.7 kB / 3.716 GB, free: 32.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007116/10.19, allocations: 434.7 kB / 3.716 GB, free: 32.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/10.19, allocations: 356.6 kB / 3.717 GB, free: 31.99 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-06/10.19, allocations: 0 / 3.717 GB, free: 31.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002268/10.19, allocations: 0.9585 MB / 3.718 GB, free: 31.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009201/10.19, allocations: 1.808 MB / 3.72 GB, free: 29.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/10.19, allocations: 6.406 kB / 3.72 GB, free: 29.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003682/10.19, allocations: 348.3 kB / 3.72 GB, free: 29.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/10.19, allocations: 136 kB / 3.72 GB, free: 29.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/10.2, allocations: 0.796 MB / 3.721 GB, free: 29.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/10.2, allocations: 73.67 kB / 3.721 GB, free: 29.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/10.2, allocations: 45.08 kB / 3.721 GB, free: 29.42 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/10.2, allocations: 3.844 kB / 3.721 GB, free: 29.42 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002189/10.2, allocations: 0.9534 MB / 3.722 GB, free: 29.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/10.2, allocations: 4.812 kB / 3.722 GB, free: 29.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003594/10.2, allocations: 346.3 kB / 3.722 GB, free: 29.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/10.2, allocations: 126.3 kB / 3.722 GB, free: 29.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/10.2, allocations: 0.7982 MB / 3.723 GB, free: 28.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008191/10.21, allocations: 67.69 kB / 3.723 GB, free: 28.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/10.21, allocations: 53.94 kB / 3.723 GB, free: 28.78 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 19 ($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,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled,SteamValve.state_b.phase,SteamValve.state_a.phase,sink.state.phase,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * 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.0003764/10.21, allocations: 210.5 kB / 3.723 GB, free: 28.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/10.21, allocations: 75 kB / 3.723 GB, free: 28.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006672/10.21, allocations: 4.951 MB / 3.728 GB, free: 28.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.702e-05/10.21, allocations: 28.67 kB / 3.728 GB, free: 28.22 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.206e-06/10.21, allocations: 9.203 kB / 3.728 GB, free: 28.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/10.21, allocations: 7.906 kB / 3.728 GB, free: 28.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009955/10.22, allocations: 6.812 MB / 3.735 GB, free: 27.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/10.22, allocations: 2.062 kB / 3.735 GB, free: 27.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006468/10.22, allocations: 105.7 kB / 3.735 GB, free: 27.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003031/10.23, allocations: 1.284 MB / 3.736 GB, free: 27.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/10.23, allocations: 24 kB / 3.736 GB, free: 27.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/10.23, allocations: 2.433 MB / 3.739 GB, free: 26.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/10.23, allocations: 3.531 kB / 3.739 GB, free: 26.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008277/10.24, allocations: 5.804 MB / 3.744 GB, free: 26.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006223/10.24, allocations: 241.1 kB / 3.745 GB, free: 26.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/10.24, allocations: 22.94 kB / 3.745 GB, free: 26.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000958/10.24, allocations: 71.94 kB / 3.745 GB, free: 26.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/10.24, allocations: 49.75 kB / 3.745 GB, free: 26.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.612e-05/10.24, allocations: 32.81 kB / 3.745 GB, free: 26.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008258/10.24, allocations: 476.8 kB / 3.745 GB, free: 26.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.05e-06/10.24, allocations: 0 / 3.745 GB, free: 26.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005382/10.25, allocations: 1.373 MB / 3.747 GB, free: 26.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled) * Number of discrete states: 12 (Y_Valve_Tab.nextEvent,Y_Valve_Tab.last,Y_Valve_Tab.nextEventScaled,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.nextEvent,q_F_Tab.last,q_F_Tab.nextEventScaled,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 8 * 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.008492/10.25, allocations: 1.807 MB / 3.748 GB, free: 25.69 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003786/10.26, allocations: 1.72 MB / 3.75 GB, free: 25.42 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/10.26, allocations: 1.906 kB / 3.75 GB, free: 25.42 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0016/10.26, allocations: 0.8662 MB / 3.751 GB, free: 25.29 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/10.26, allocations: 306.2 kB / 3.751 GB, free: 25.26 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/10.27, allocations: 1.747 MB / 3.753 GB, free: 24.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008156/10.27, allocations: 1.092 MB / 3.754 GB, free: 24.03 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/10.27, allocations: 63.47 kB / 3.754 GB, free: 24.03 MB / 474.7 MB Notification: Performance of SimCode: time 1.852e-06/10.27, allocations: 4 kB / 3.754 GB, free: 24.02 MB / 474.7 MB Notification: Performance of Templates: time 0.06086/10.33, allocations: 37.66 MB / 3.791 GB, free: 12 MB / 474.7 MB