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_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.381e-05/2.398e-05, allocations: 0 / 255.4 MB, free: 2.707 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07777/0.07782, allocations: 44.5 MB / 299.9 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.555/6.633, allocations: 2.67 GB / 2.963 GB, free: 70.72 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/6.633, allocations: 79.27 kB / 2.963 GB, free: 70.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.219/8.852, allocations: 494.2 MB / 3.446 GB, free: 30.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.437e-06/8.852, allocations: 0 / 3.446 GB, free: 30.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.929e-05/8.852, allocations: 22.05 kB / 3.446 GB, free: 30.23 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.006253/8.858, allocations: 1.833 MB / 3.447 GB, free: 29.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/8.858, allocations: 13.47 kB / 3.447 GB, free: 29.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/8.861, allocations: 253 kB / 3.448 GB, free: 29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/8.863, allocations: 0.5002 MB / 3.448 GB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/8.863, allocations: 48.47 kB / 3.448 GB, free: 28.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/8.863, allocations: 60 kB / 3.448 GB, free: 28.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/8.865, allocations: 0.9026 MB / 3.449 GB, free: 28.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/8.865, allocations: 3.594 kB / 3.449 GB, free: 28.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.811e-05/8.865, allocations: 31.08 kB / 3.449 GB, free: 28.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/8.865, allocations: 13.16 kB / 3.449 GB, free: 28.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/8.868, allocations: 0.6855 MB / 3.45 GB, free: 27.95 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.005516/8.873, allocations: 4.141 MB / 3.454 GB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/8.875, allocations: 0.585 MB / 3.454 GB, free: 24.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/8.876, allocations: 248.5 kB / 3.455 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1298/9.006, allocations: 55.17 MB / 3.509 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001691/9.007, allocations: 0.5673 MB / 3.509 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005136/9.008, allocations: 89.31 kB / 3.509 GB, free: 13.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 3.879e-06/9.008, allocations: 0 / 3.509 GB, free: 13.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.01203/9.02, allocations: 2.902 MB / 3.512 GB, free: 10.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001847/9.02, allocations: 273.1 kB / 3.512 GB, free: 10.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006864/9.021, allocations: 397.2 kB / 3.513 GB, free: 10.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.901e-05/9.021, allocations: 37.7 kB / 3.513 GB, free: 10 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000343/9.021, allocations: 327 kB / 3.513 GB, free: 9.707 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/9.022, allocations: 215 kB / 3.513 GB, free: 9.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/9.022, allocations: 19.94 kB / 3.513 GB, free: 9.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002264/9.022, allocations: 365.8 kB / 3.514 GB, free: 9.152 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006118/9.023, allocations: 248.8 kB / 3.514 GB, free: 8.922 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007993/9.023, allocations: 435.5 kB / 3.514 GB, free: 8.441 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/9.024, allocations: 362.7 kB / 3.515 GB, free: 8.105 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.668e-06/9.024, allocations: 3.953 kB / 3.515 GB, free: 8.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002346/9.027, allocations: 0.9047 MB / 3.516 GB, free: 7.258 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001122/9.028, allocations: 1.983 MB / 3.517 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/9.028, allocations: 4 kB / 3.517 GB, free: 5.117 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003778/9.031, allocations: 340.7 kB / 3.518 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007567/9.032, allocations: 135.7 kB / 3.518 GB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/9.034, allocations: 0.7968 MB / 3.519 GB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/9.035, allocations: 68.95 kB / 3.519 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/9.035, allocations: 45.61 kB / 3.519 GB, free: 3.922 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/9.035, allocations: 7.953 kB / 3.519 GB, free: 3.914 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002275/9.037, allocations: 0.8708 MB / 3.52 GB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/9.037, allocations: 11.84 kB / 3.52 GB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003697/9.041, allocations: 339 kB / 3.52 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/9.042, allocations: 127 kB / 3.52 GB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/9.043, allocations: 0.802 MB / 3.521 GB, free: 2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009229/9.044, allocations: 66.12 kB / 3.521 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/9.044, allocations: 48.81 kB / 3.521 GB, free: 1.906 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.0003823/9.045, allocations: 222.1 kB / 3.521 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/9.045, allocations: 67.25 kB / 3.521 GB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2728/9.318, allocations: 4.868 MB / 3.526 GB, free: 62.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.545e-05/9.318, allocations: 34.25 kB / 3.526 GB, free: 62.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.181e-06/9.318, allocations: 0 / 3.526 GB, free: 62.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/9.318, allocations: 8.234 kB / 3.526 GB, free: 62.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/9.329, allocations: 6.715 MB / 3.533 GB, free: 62.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/9.329, allocations: 4.25 kB / 3.533 GB, free: 62.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/9.329, allocations: 88.06 kB / 3.533 GB, free: 62.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003039/9.332, allocations: 1.28 MB / 3.534 GB, free: 62.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/9.332, allocations: 30.06 kB / 3.534 GB, free: 62.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/9.335, allocations: 2.428 MB / 3.536 GB, free: 61.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.203e-06/9.335, allocations: 3 kB / 3.536 GB, free: 61.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008207/9.343, allocations: 5.715 MB / 3.542 GB, free: 61.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/9.344, allocations: 242.8 kB / 3.542 GB, free: 61.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/9.344, allocations: 21.12 kB / 3.542 GB, free: 61.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009488/9.345, allocations: 66.59 kB / 3.542 GB, free: 61.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/9.345, allocations: 51.8 kB / 3.542 GB, free: 61.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.616e-05/9.345, allocations: 37.78 kB / 3.542 GB, free: 61.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006868/9.346, allocations: 458.4 kB / 3.543 GB, free: 61.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.26e-07/9.346, allocations: 0 / 3.543 GB, free: 61.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005373/9.351, allocations: 1.366 MB / 3.544 GB, free: 61.09 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.007873/9.359, allocations: 1.784 MB / 3.546 GB, free: 60.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003569/9.363, allocations: 1.742 MB / 3.548 GB, free: 60.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.981e-06/9.363, allocations: 3.875 kB / 3.548 GB, free: 60.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/9.364, allocations: 0.8577 MB / 3.548 GB, free: 60.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/9.367, allocations: 288.4 kB / 3.549 GB, free: 60.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/9.37, allocations: 1.691 MB / 3.55 GB, free: 60.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/9.37, allocations: 1.093 MB / 3.551 GB, free: 59.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001521/9.372, allocations: 0.6209 MB / 3.552 GB, free: 59.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/9.372, allocations: 53.45 kB / 3.552 GB, free: 59.43 MB / 442.7 MB Notification: Performance of SimCode: time 1.748e-06/9.372, allocations: 0 / 3.552 GB, free: 59.43 MB / 442.7 MB Notification: Performance of Templates: time 0.08634/9.458, allocations: 50.02 MB / 3.601 GB, free: 57.27 MB / 442.7 MB