Running command: translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controller.x|evaporator.V_l|evaporator.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 1.785/1.785, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/3.013e-05, allocations: 3.5 kB / 255.3 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07949/0.07954, allocations: 44.5 MB / 299.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.298/6.378, allocations: 2.67 GB / 2.963 GB, free: 123.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/6.378, allocations: 84.75 kB / 2.963 GB, free: 123.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.138/8.516, allocations: 494.2 MB / 3.446 GB, free: 33.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.052e-06/8.516, allocations: 0 / 3.446 GB, free: 33.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.851e-05/8.516, allocations: 15.78 kB / 3.446 GB, free: 33.61 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.008783/8.525, allocations: 1.845 MB / 3.447 GB, free: 32.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/8.525, allocations: 9.125 kB / 3.447 GB, free: 32.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004896/8.53, allocations: 255.4 kB / 3.448 GB, free: 32.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/8.532, allocations: 0.5048 MB / 3.448 GB, free: 32.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.849e-05/8.532, allocations: 48.67 kB / 3.448 GB, free: 32.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/8.532, allocations: 54 kB / 3.448 GB, free: 32.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003068/8.535, allocations: 0.9083 MB / 3.449 GB, free: 32.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/8.535, allocations: 8.984 kB / 3.449 GB, free: 32.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.196e-05/8.535, allocations: 31.92 kB / 3.449 GB, free: 32.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/8.535, allocations: 12.25 kB / 3.449 GB, free: 32.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/8.537, allocations: 0.7041 MB / 3.45 GB, free: 32.13 MB / 410.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.005054/8.542, allocations: 4.129 MB / 3.454 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/8.544, allocations: 0.6031 MB / 3.454 GB, free: 29.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/8.545, allocations: 253 kB / 3.455 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.123/8.668, allocations: 55.17 MB / 3.509 GB, free: 29.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001697/8.67, allocations: 0.5634 MB / 3.509 GB, free: 28.95 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005257/8.67, allocations: 83.8 kB / 3.509 GB, free: 28.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 4.05e-06/8.67, allocations: 0 / 3.509 GB, free: 28.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.0116/8.682, allocations: 2.912 MB / 3.512 GB, free: 28.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001864/8.682, allocations: 269.3 kB / 3.512 GB, free: 27.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005735/8.683, allocations: 395.8 kB / 3.513 GB, free: 27.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.803e-05/8.683, allocations: 36.95 kB / 3.513 GB, free: 27.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/8.683, allocations: 363.8 kB / 3.513 GB, free: 27.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/8.683, allocations: 214.3 kB / 3.513 GB, free: 27.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/8.683, allocations: 11.16 kB / 3.513 GB, free: 27.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/8.683, allocations: 336.9 kB / 3.514 GB, free: 27.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/8.684, allocations: 252 kB / 3.514 GB, free: 27.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006291/8.685, allocations: 439.1 kB / 3.514 GB, free: 26.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006574/8.685, allocations: 355.8 kB / 3.515 GB, free: 26.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.733e-06/8.685, allocations: 5.219 kB / 3.515 GB, free: 26.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002048/8.687, allocations: 0.8875 MB / 3.515 GB, free: 26.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001001/8.688, allocations: 1.987 MB / 3.517 GB, free: 24.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/8.688, allocations: 6.031 kB / 3.517 GB, free: 24.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003689/8.692, allocations: 343.7 kB / 3.518 GB, free: 24.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/8.693, allocations: 136.3 kB / 3.518 GB, free: 24.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/8.694, allocations: 0.8055 MB / 3.519 GB, free: 23.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009588/8.695, allocations: 68.45 kB / 3.519 GB, free: 23.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/8.695, allocations: 52.66 kB / 3.519 GB, free: 23.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/8.695, allocations: 3.375 kB / 3.519 GB, free: 23.98 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002068/8.698, allocations: 0.885 MB / 3.52 GB, free: 23.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/8.698, allocations: 3.688 kB / 3.52 GB, free: 23.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004455/8.702, allocations: 338.8 kB / 3.52 GB, free: 23.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007102/8.703, allocations: 119.7 kB / 3.52 GB, free: 23.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/8.704, allocations: 0.7978 MB / 3.521 GB, free: 23.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008024/8.705, allocations: 63.22 kB / 3.521 GB, free: 23.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/8.705, allocations: 49.69 kB / 3.521 GB, free: 23.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0003733/8.706, allocations: 230.8 kB / 3.521 GB, free: 23.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/8.706, allocations: 65.47 kB / 3.521 GB, free: 23.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006464/8.712, allocations: 4.863 MB / 3.526 GB, free: 22.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/8.712, allocations: 29.39 kB / 3.526 GB, free: 22.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/8.712, allocations: 3.406 kB / 3.526 GB, free: 22.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/8.712, allocations: 3.516 kB / 3.526 GB, free: 22.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008663/8.721, allocations: 6.738 MB / 3.533 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/8.721, allocations: 0 / 3.533 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005259/8.722, allocations: 94.41 kB / 3.533 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002668/8.724, allocations: 1.278 MB / 3.534 GB, free: 22.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/8.724, allocations: 29.88 kB / 3.534 GB, free: 22.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002536/8.727, allocations: 2.426 MB / 3.536 GB, free: 21.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/8.727, allocations: 0 / 3.536 GB, free: 21.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007421/8.734, allocations: 5.718 MB / 3.542 GB, free: 21.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/8.735, allocations: 239.8 kB / 3.542 GB, free: 20.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/8.735, allocations: 21.22 kB / 3.542 GB, free: 20.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/8.736, allocations: 65.27 kB / 3.542 GB, free: 20.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/8.736, allocations: 46.05 kB / 3.542 GB, free: 20.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/8.736, allocations: 34.27 kB / 3.542 GB, free: 20.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006872/8.737, allocations: 459.7 kB / 3.543 GB, free: 20.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.97e-07/8.737, allocations: 0.5625 kB / 3.543 GB, free: 20.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005305/8.742, allocations: 1.362 MB / 3.544 GB, free: 20.67 MB / 442.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 (57): * Single equations (assignments): 46 * 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.008189/8.751, allocations: 1.782 MB / 3.546 GB, free: 20.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003658/8.754, allocations: 1.75 MB / 3.548 GB, free: 19.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.563e-06/8.754, allocations: 0 / 3.548 GB, free: 19.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/8.756, allocations: 0.8616 MB / 3.548 GB, free: 19.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/8.758, allocations: 289.7 kB / 3.549 GB, free: 19.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/8.761, allocations: 1.731 MB / 3.55 GB, free: 19.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008099/8.762, allocations: 1.092 MB / 3.551 GB, free: 18.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/8.762, allocations: 59.06 kB / 3.551 GB, free: 18.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.835e-06/8.762, allocations: 3.75 kB / 3.551 GB, free: 18.58 MB / 442.7 MB Notification: Performance of Templates: time 0.3218/9.084, allocations: 37.29 MB / 3.588 GB, free: 63.31 MB / 442.7 MB