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 1.858/1.858, allocations: 194.9 MB / 210.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.815e-05, allocations: 4 kB / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2919, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.05938/0.3513, allocations: 39.09 MB / 342.4 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03051/0.3819, allocations: 16.95 MB / 359.4 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008416/0.3827, allocations: 31.81 kB / 359.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.3838, allocations: 306.4 kB / 359.7 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.3959, allocations: 3.384 MB / 363.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005635/0.4015, allocations: 1.554 MB / 364.6 MB, free: 16 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.4032, allocations: 0.684 MB / 365.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000709/0.404, allocations: 342.6 kB / 365.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02068/0.4247, allocations: 8.92 MB / 374.6 MB, free: 6.066 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006924/0.4316, allocations: 3.056 MB / 377.6 MB, free: 3.008 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01808/0.4497, allocations: 6.762 MB / 384.4 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002451/0.4522, allocations: 428 kB / 384.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.4525, allocations: 123.5 kB / 384.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.4528, allocations: 80 kB / 385 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007809/0.4606, allocations: 3.083 MB / 388.1 MB, free: 8.531 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4607, allocations: 4 kB / 388.1 MB, free: 8.527 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4607, allocations: 0 / 388.1 MB, free: 8.527 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.4607, allocations: 4 kB / 388.1 MB, free: 8.523 MB / 330.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.004499/0.4652, allocations: 1.438 MB / 389.5 MB, free: 7.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4653, allocations: 8.031 kB / 389.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/0.4683, allocations: 278.9 kB / 389.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009795/0.4693, allocations: 480.5 kB / 390.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.4694, allocations: 45.31 kB / 390.3 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.4696, allocations: 55.91 kB / 390.4 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/0.4725, allocations: 0.894 MB / 391.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.4725, allocations: 0 / 391.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/0.4726, allocations: 27.95 kB / 391.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.4726, allocations: 16 kB / 391.3 MB, free: 5.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/0.4755, allocations: 0.7261 MB / 392 MB, free: 4.406 MB / 330.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.006685/0.4822, allocations: 4.099 MB / 396.1 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.4848, allocations: 0.6134 MB / 396.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4869/0.9718, allocations: 71.92 MB / 468.7 MB, free: 72.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001916/0.9737, allocations: 0.543 MB / 469.2 MB, free: 71.91 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004508/0.9742, allocations: 72.33 kB / 469.3 MB, free: 71.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 3.286e-06/0.9742, allocations: 0 / 469.3 MB, free: 71.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.01509/0.9893, allocations: 3.282 MB / 472.6 MB, free: 68.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.9895, allocations: 273.5 kB / 472.8 MB, free: 68.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.99, allocations: 397.2 kB / 473.2 MB, free: 67.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.453e-05/0.9901, allocations: 45.75 kB / 473.3 MB, free: 67.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.9904, allocations: 320 kB / 473.6 MB, free: 67.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.9906, allocations: 210 kB / 473.8 MB, free: 67.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.9906, allocations: 12 kB / 473.8 MB, free: 67.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.9907, allocations: 374.8 kB / 474.2 MB, free: 66.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007887/0.9915, allocations: 257.5 kB / 474.4 MB, free: 66.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009066/0.9925, allocations: 456.7 kB / 474.9 MB, free: 66.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009003/0.9934, allocations: 379.8 kB / 475.2 MB, free: 65.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.9934, allocations: 0.875 kB / 475.2 MB, free: 65.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002506/0.9959, allocations: 0.9555 MB / 476.2 MB, free: 64.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003972/0.9963, allocations: 1.988 MB / 478.2 MB, free: 62.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.9964, allocations: 4 kB / 478.2 MB, free: 62.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004963/1.001, allocations: 342.5 kB / 478.5 MB, free: 62.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008723/1.002, allocations: 143.6 kB / 478.7 MB, free: 62.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/1.004, allocations: 0.7966 MB / 479.4 MB, free: 61.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009472/1.005, allocations: 68.45 kB / 479.5 MB, free: 61.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.005, allocations: 51.97 kB / 479.6 MB, free: 61.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/1.005, allocations: 4 kB / 479.6 MB, free: 61.13 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002309/1.007, allocations: 0.884 MB / 480.5 MB, free: 60.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.007, allocations: 9.312 kB / 480.5 MB, free: 60.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004865/1.012, allocations: 352.9 kB / 480.8 MB, free: 59.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007896/1.013, allocations: 119.8 kB / 480.9 MB, free: 59.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/1.014, allocations: 0.8029 MB / 481.7 MB, free: 58.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008586/1.015, allocations: 67.86 kB / 481.8 MB, free: 58.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/1.015, allocations: 43.97 kB / 481.8 MB, free: 58.82 MB / 362.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.0004661/1.016, allocations: 286.6 kB / 482.1 MB, free: 58.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.016, allocations: 79.19 kB / 482.2 MB, free: 58.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006942/1.023, allocations: 4.61 MB / 486.8 MB, free: 53.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.042e-05/1.023, allocations: 31.95 kB / 486.8 MB, free: 53.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.023, allocations: 0 / 486.8 MB, free: 53.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.023, allocations: 7.984 kB / 486.8 MB, free: 53.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009936/1.033, allocations: 6.475 MB / 493.3 MB, free: 47.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.033, allocations: 4 kB / 493.3 MB, free: 47.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007015/1.034, allocations: 88.95 kB / 493.4 MB, free: 47.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003398/1.037, allocations: 1.082 MB / 494.5 MB, free: 46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.091e-05/1.037, allocations: 19.98 kB / 494.5 MB, free: 45.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/1.04, allocations: 2.358 MB / 496.9 MB, free: 43.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.04, allocations: 0 / 496.9 MB, free: 43.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008927/1.049, allocations: 5.448 MB / 0.4905 GB, free: 38.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/1.049, allocations: 231.4 kB / 0.4908 GB, free: 37.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/1.049, allocations: 23.94 kB / 0.4908 GB, free: 37.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.051, allocations: 83.64 kB / 0.4909 GB, free: 37.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/1.051, allocations: 44.44 kB / 0.4909 GB, free: 37.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-05/1.051, allocations: 39.97 kB / 0.4909 GB, free: 37.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006833/1.051, allocations: 459 kB / 0.4914 GB, free: 37.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.051, allocations: 0 / 0.4914 GB, free: 37.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003824/1.055, allocations: 1.239 MB / 0.4926 GB, free: 36.06 MB / 362.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 ($cse2.phase,$cse2.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.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.005581/1.061, allocations: 1.261 MB / 0.4938 GB, free: 35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004443/1.065, allocations: 1.839 MB / 0.4956 GB, free: 33.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.065, allocations: 4 kB / 0.4956 GB, free: 33.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001785/1.067, allocations: 0.8975 MB / 0.4965 GB, free: 32.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/1.07, allocations: 273.3 kB / 0.4968 GB, free: 31.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/1.074, allocations: 2.713 MB / 0.4994 GB, free: 29.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/1.075, allocations: 1.099 MB / 0.5005 GB, free: 28.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001601/1.076, allocations: 0.621 MB / 0.5011 GB, free: 27.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/1.076, allocations: 51.44 kB / 0.5011 GB, free: 27.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.673e-06/1.076, allocations: 4 kB / 0.5011 GB, free: 27.39 MB / 362.7 MB Notification: Performance of Templates: time 0.1053/1.182, allocations: 40.93 MB / 0.5411 GB, free: 2.441 MB / 378.7 MB