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.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 1.682/1.682, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.251e-05, allocations: 14.17 kB / 228.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08175/0.0818, allocations: 38.77 MB / 266.9 MB, free: 500 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.3106/0.3925, allocations: 38.75 MB / 305.7 MB, free: 5.395 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02727/0.4198, allocations: 16.78 MB / 322.4 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009296/0.4208, allocations: 24.38 kB / 322.5 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.4218, allocations: 307.7 kB / 322.8 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01266/0.4345, allocations: 3.352 MB / 326.1 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00587/0.4404, allocations: 1.545 MB / 327.7 MB, free: 456 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.4424, allocations: 0.67 MB / 328.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.4438, allocations: 343.6 kB / 328.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0242/0.468, allocations: 8.808 MB / 337.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007252/0.4753, allocations: 3.017 MB / 340.5 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01951/0.4949, allocations: 6.649 MB / 347.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002567/0.4975, allocations: 412 kB / 347.5 MB, free: 1.176 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.4978, allocations: 127.5 kB / 347.7 MB, free: 1.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003971/0.4982, allocations: 80 kB / 347.7 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008827/0.5071, allocations: 3.044 MB / 350.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5071, allocations: 0 / 350.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5071, allocations: 0 / 350.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.5072, allocations: 0 / 350.8 MB, free: 13.92 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.004855/0.512, allocations: 1.424 MB / 352.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.5121, allocations: 8.031 kB / 352.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/0.5151, allocations: 262.9 kB / 352.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.5163, allocations: 468.6 kB / 352.9 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-05/0.5163, allocations: 45.31 kB / 353 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.5165, allocations: 59.94 kB / 353 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/0.5195, allocations: 0.8821 MB / 353.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.5195, allocations: 0 / 353.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.5197, allocations: 32 kB / 354 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.5197, allocations: 16 kB / 354 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002901/0.5226, allocations: 0.7144 MB / 354.7 MB, free: 9.863 MB / 282.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.006974/0.5296, allocations: 4.071 MB / 358.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/0.5323, allocations: 0.6114 MB / 359.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2606/0.7929, allocations: 71.85 MB / 431.2 MB, free: 4.879 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002112/0.7951, allocations: 0.5222 MB / 431.7 MB, free: 4.32 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004777/0.7956, allocations: 83.27 kB / 431.8 MB, free: 4.238 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 3.547e-06/0.7956, allocations: 0 / 431.8 MB, free: 4.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.01675/0.8124, allocations: 3.245 MB / 435.1 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.8126, allocations: 273.5 kB / 435.3 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007326/0.8133, allocations: 393.1 kB / 435.7 MB, free: 144 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.8134, allocations: 37.77 kB / 435.7 MB, free: 100 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2148/1.028, allocations: 319.8 kB / 436.1 MB, free: 139.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/1.029, allocations: 201.3 kB / 436.3 MB, free: 139.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/1.029, allocations: 13.19 kB / 436.3 MB, free: 139.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/1.029, allocations: 371.4 kB / 436.6 MB, free: 139.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/1.03, allocations: 250 kB / 436.9 MB, free: 139.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/1.031, allocations: 447.5 kB / 437.3 MB, free: 139.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/1.032, allocations: 366.3 kB / 437.7 MB, free: 139.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/1.032, allocations: 1.375 kB / 437.7 MB, free: 139.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003093/1.035, allocations: 0.9613 MB / 438.6 MB, free: 139 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.71e-05/1.035, allocations: 69.81 kB / 438.7 MB, free: 138.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.035, allocations: 6.094 kB / 438.7 MB, free: 138.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005246/1.041, allocations: 350 kB / 439 MB, free: 138.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.042, allocations: 129.6 kB / 439.2 MB, free: 138.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/1.044, allocations: 0.8084 MB / 440 MB, free: 138.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/1.045, allocations: 65.42 kB / 440 MB, free: 138.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/1.045, allocations: 41.94 kB / 440.1 MB, free: 138.1 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: 17 ($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,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,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.0005326/1.046, allocations: 279.1 kB / 440.4 MB, free: 137.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/1.046, allocations: 69.66 kB / 440.4 MB, free: 137.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008914/1.055, allocations: 4.633 MB / 445.1 MB, free: 135.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-05/1.055, allocations: 30.44 kB / 445.1 MB, free: 135.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.055, allocations: 1.281 kB / 445.1 MB, free: 135.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.29e-05/1.055, allocations: 10.5 kB / 445.1 MB, free: 135.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/1.067, allocations: 6.443 MB / 451.5 MB, free: 132.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/1.067, allocations: 0 / 451.5 MB, free: 132.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007665/1.068, allocations: 91.05 kB / 451.6 MB, free: 132.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003508/1.071, allocations: 1.078 MB / 452.7 MB, free: 132.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/1.071, allocations: 31.31 kB / 452.7 MB, free: 132.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/1.074, allocations: 2.345 MB / 455.1 MB, free: 130.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/1.074, allocations: 3.984 kB / 455.1 MB, free: 130.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009586/1.084, allocations: 5.432 MB / 460.5 MB, free: 125.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/1.084, allocations: 235.4 kB / 460.8 MB, free: 125.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/1.085, allocations: 16 kB / 460.8 MB, free: 125.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.086, allocations: 63.47 kB / 460.8 MB, free: 125.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/1.086, allocations: 53.83 kB / 460.9 MB, free: 125.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.171e-05/1.086, allocations: 27.94 kB / 460.9 MB, free: 125.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007251/1.087, allocations: 463 kB / 461.4 MB, free: 124.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.087, allocations: 0 / 461.4 MB, free: 124.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003572/1.091, allocations: 1.093 MB / 462.5 MB, free: 123.9 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: 25 ($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,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent) * Number of discrete states: 10 (Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.last,q_F_Tab.nextEvent,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.006558/1.097, allocations: 1.252 MB / 463.7 MB, free: 122.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003016/1.1, allocations: 1.098 MB / 464.8 MB, free: 121.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.1, allocations: 7.969 kB / 464.8 MB, free: 121.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/1.102, allocations: 0.8342 MB / 465.7 MB, free: 120.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/1.105, allocations: 280.6 kB / 465.9 MB, free: 120.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/1.11, allocations: 2.665 MB / 468.6 MB, free: 118 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/1.11, allocations: 1.086 MB / 469.7 MB, free: 116.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009694/1.111, allocations: 296.3 kB / 470 MB, free: 116.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/1.112, allocations: 59.42 kB / 470 MB, free: 116.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/1.112, allocations: 0 / 470 MB, free: 116.5 MB / 362.7 MB Notification: Performance of Templates: time 0.07318/1.185, allocations: 36.77 MB / 0.4949 GB, free: 79.78 MB / 362.7 MB