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_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.617e-05, allocations: 4 kB / 292.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09243/0.09247, allocations: 50.4 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.02/7.112, allocations: 2.838 GB / 3.173 GB, free: 37.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/7.113, allocations: 87.16 kB / 3.173 GB, free: 37.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.283/9.396, allocations: 0.4908 GB / 3.664 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.706e-06/9.396, allocations: 0 / 3.664 GB, free: 40.76 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.756e-05/9.396, allocations: 18.72 kB / 3.664 GB, free: 40.75 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.00633/9.402, allocations: 1.854 MB / 3.666 GB, free: 39.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/9.402, allocations: 18.75 kB / 3.666 GB, free: 39.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/9.405, allocations: 242.8 kB / 3.666 GB, free: 39.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/9.406, allocations: 0.5024 MB / 3.666 GB, free: 39.17 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/9.406, allocations: 44.03 kB / 3.666 GB, free: 39.15 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/9.406, allocations: 64.23 kB / 3.666 GB, free: 39.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/9.409, allocations: 0.9227 MB / 3.667 GB, free: 38.68 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/9.409, allocations: 3.969 kB / 3.667 GB, free: 38.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.429e-05/9.409, allocations: 27.88 kB / 3.667 GB, free: 38.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/9.409, allocations: 15.59 kB / 3.667 GB, free: 38.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/9.412, allocations: 0.704 MB / 3.668 GB, free: 38.45 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.005538/9.417, allocations: 4.192 MB / 3.672 GB, free: 35.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/9.419, allocations: 0.6172 MB / 3.673 GB, free: 34.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/9.42, allocations: 265.1 kB / 3.673 GB, free: 34.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09763/9.517, allocations: 39.02 MB / 3.711 GB, free: 4.602 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001697/9.519, allocations: 0.5886 MB / 3.712 GB, free: 4.102 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005228/9.52, allocations: 89.64 kB / 3.712 GB, free: 4.027 MB / 458.7 MB Notification: Performance of pre-optimization done (n=57): time 4.078e-06/9.52, allocations: 0 / 3.712 GB, free: 4.027 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.01156/9.531, allocations: 3.041 MB / 3.715 GB, free: 1.098 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.188e-05/9.531, allocations: 273.4 kB / 3.715 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/9.532, allocations: 419.8 kB / 3.715 GB, free: 364 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-05/9.532, allocations: 45.75 kB / 3.715 GB, free: 312 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/9.532, allocations: 319.8 kB / 3.716 GB, free: 15.99 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/9.533, allocations: 215.1 kB / 3.716 GB, free: 15.78 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/9.533, allocations: 12 kB / 3.716 GB, free: 15.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002522/9.533, allocations: 374.8 kB / 3.716 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000648/9.534, allocations: 257.5 kB / 3.717 GB, free: 15.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008315/9.535, allocations: 434.9 kB / 3.717 GB, free: 14.65 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007794/9.535, allocations: 357.6 kB / 3.717 GB, free: 14.29 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.753e-06/9.535, allocations: 4 kB / 3.717 GB, free: 14.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002573/9.538, allocations: 0.9786 MB / 3.718 GB, free: 13.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001039/9.539, allocations: 1.81 MB / 3.72 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/9.539, allocations: 4 kB / 3.72 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003797/9.543, allocations: 344.4 kB / 3.72 GB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007716/9.544, allocations: 139.8 kB / 3.72 GB, free: 10.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/9.545, allocations: 0.7943 MB / 3.721 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/9.546, allocations: 75.86 kB / 3.721 GB, free: 9.957 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/9.546, allocations: 47.92 kB / 3.721 GB, free: 9.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/9.546, allocations: 4 kB / 3.721 GB, free: 9.906 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002506/9.549, allocations: 0.9541 MB / 3.722 GB, free: 8.934 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/9.549, allocations: 4 kB / 3.722 GB, free: 8.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003697/9.553, allocations: 344 kB / 3.723 GB, free: 8.598 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/9.553, allocations: 135.8 kB / 3.723 GB, free: 8.465 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/9.555, allocations: 0.7983 MB / 3.724 GB, free: 7.641 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/9.556, allocations: 64.02 kB / 3.724 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/9.556, allocations: 47.91 kB / 3.724 GB, free: 7.531 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.0003901/9.557, allocations: 229.6 kB / 3.724 GB, free: 7.289 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/9.557, allocations: 71.25 kB / 3.724 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008229/9.565, allocations: 4.944 MB / 3.729 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.187e-05/9.565, allocations: 35.91 kB / 3.729 GB, free: 2.207 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.232e-06/9.565, allocations: 0 / 3.729 GB, free: 2.207 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/9.565, allocations: 3.984 kB / 3.729 GB, free: 2.203 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2945/9.86, allocations: 6.805 MB / 3.735 GB, free: 60.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/9.86, allocations: 1.812 kB / 3.735 GB, free: 60.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/9.86, allocations: 111.6 kB / 3.736 GB, free: 60.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00292/9.863, allocations: 1.273 MB / 3.737 GB, free: 60.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/9.864, allocations: 25.8 kB / 3.737 GB, free: 60.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/9.866, allocations: 2.427 MB / 3.739 GB, free: 59.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/9.866, allocations: 4.906 kB / 3.739 GB, free: 59.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009594/9.876, allocations: 5.824 MB / 3.745 GB, free: 59.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/9.876, allocations: 242.4 kB / 3.745 GB, free: 59.53 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/9.877, allocations: 21.59 kB / 3.745 GB, free: 59.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009238/9.878, allocations: 71.14 kB / 3.745 GB, free: 59.53 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/9.878, allocations: 51.77 kB / 3.745 GB, free: 59.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/9.878, allocations: 30.94 kB / 3.745 GB, free: 59.53 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007956/9.879, allocations: 472 kB / 3.746 GB, free: 59.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.279e-06/9.879, allocations: 3.969 kB / 3.746 GB, free: 59.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006019/9.885, allocations: 1.377 MB / 3.747 GB, free: 59.43 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.00917/9.894, allocations: 1.789 MB / 3.749 GB, free: 59.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003866/9.898, allocations: 1.747 MB / 3.751 GB, free: 59.03 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.126e-06/9.898, allocations: 4.031 kB / 3.751 GB, free: 59.03 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/9.9, allocations: 0.8556 MB / 3.751 GB, free: 58.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/9.902, allocations: 318.6 kB / 3.752 GB, free: 58.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/9.905, allocations: 1.706 MB / 3.753 GB, free: 58.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/9.906, allocations: 1.097 MB / 3.754 GB, free: 57.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001619/9.907, allocations: 0.6242 MB / 3.755 GB, free: 57.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/9.908, allocations: 56.02 kB / 3.755 GB, free: 57.77 MB / 474.7 MB Notification: Performance of SimCode: time 1.51e-06/9.908, allocations: 0 / 3.755 GB, free: 57.77 MB / 474.7 MB Notification: Performance of Templates: time 0.09248/10, allocations: 50.85 MB / 3.805 GB, free: 56.09 MB / 474.7 MB