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_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 2.111/2.111, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.797e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 50.41 MB / 345 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.08536/0.1935, allocations: 39.37 MB / 384.3 MB, free: 1.512 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04136/0.2349, allocations: 17.06 MB / 401.4 MB, free: 428 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009458/0.2359, allocations: 27.81 kB / 401.4 MB, free: 400 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.2371, allocations: 302.5 kB / 401.7 MB, free: 96 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.4192/0.6564, allocations: 3.38 MB / 405.1 MB, free: 6.113 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006491/0.6629, allocations: 1.592 MB / 406.7 MB, free: 6.078 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002188/0.6651, allocations: 0.7145 MB / 407.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009549/0.6661, allocations: 339 kB / 407.7 MB, free: 6.074 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02388/0.69, allocations: 8.94 MB / 416.7 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008653/0.6987, allocations: 3.073 MB / 419.7 MB, free: 5.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01964/0.7184, allocations: 6.765 MB / 426.5 MB, free: 5.422 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002854/0.7214, allocations: 424 kB / 426.9 MB, free: 5.008 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.7218, allocations: 129 kB / 427 MB, free: 4.941 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.7222, allocations: 80 kB / 427.1 MB, free: 4.863 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008144/0.7303, allocations: 3.11 MB / 430.2 MB, free: 2.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7304, allocations: 3.938 kB / 430.2 MB, free: 2.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.7304, allocations: 0 / 430.2 MB, free: 2.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.259e-05/0.7304, allocations: 0 / 430.2 MB, free: 2.242 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.004498/0.7349, allocations: 1.454 MB / 431.7 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.735, allocations: 8.031 kB / 431.7 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003011/0.738, allocations: 287.6 kB / 432 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.7391, allocations: 482.7 kB / 432.5 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.7392, allocations: 43.56 kB / 432.5 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.7393, allocations: 59.5 kB / 432.6 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/0.7425, allocations: 0.9068 MB / 433.5 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.7426, allocations: 3.094 kB / 433.5 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.7427, allocations: 27.19 kB / 433.5 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.7427, allocations: 19.98 kB / 433.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003/0.7458, allocations: 0.7361 MB / 434.2 MB, free: 14.75 MB / 346.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.007484/0.7533, allocations: 4.15 MB / 438.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/0.7562, allocations: 0.6617 MB / 439.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2277/0.984, allocations: 55.61 MB / 494.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002364/0.9864, allocations: 0.5777 MB / 495.2 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005514/0.987, allocations: 74.97 kB / 495.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=57): time 3.957e-06/0.9871, allocations: 0 / 495.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.01828/1.005, allocations: 3.475 MB / 498.8 MB, free: 10.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001995/1.006, allocations: 272.8 kB / 499.1 MB, free: 9.797 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008193/1.006, allocations: 420.9 kB / 499.5 MB, free: 9.457 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001709/1.007, allocations: 40.89 kB / 499.5 MB, free: 9.418 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/1.007, allocations: 357.4 kB / 499.9 MB, free: 9.148 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/1.007, allocations: 214.6 kB / 0.4883 GB, free: 8.973 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/1.007, allocations: 16.31 kB / 0.4884 GB, free: 8.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/1.008, allocations: 341.8 kB / 0.4887 GB, free: 8.633 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/1.009, allocations: 281 kB / 0.489 GB, free: 8.453 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/1.01, allocations: 462.9 kB / 0.4894 GB, free: 8.039 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/1.011, allocations: 380.5 kB / 0.4898 GB, free: 7.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/1.011, allocations: 4 kB / 0.4898 GB, free: 7.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003189/1.014, allocations: 1.006 MB / 0.4907 GB, free: 7.059 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009874/1.015, allocations: 1.804 MB / 0.4925 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/1.015, allocations: 4 kB / 0.4925 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005264/1.021, allocations: 353.5 kB / 0.4928 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.022, allocations: 135.4 kB / 0.493 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/1.023, allocations: 0.81 MB / 0.4938 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.025, allocations: 69.86 kB / 0.4938 GB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/1.025, allocations: 45.59 kB / 0.4939 GB, free: 3.938 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.025, allocations: 4 kB / 0.4939 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003037/1.028, allocations: 0.9794 MB / 0.4948 GB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.028, allocations: 4 kB / 0.4948 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005069/1.033, allocations: 340.3 kB / 0.4952 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009858/1.034, allocations: 131.3 kB / 0.4953 GB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/1.036, allocations: 0.7998 MB / 0.4961 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009812/1.037, allocations: 62.58 kB / 0.4961 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/1.037, allocations: 45.91 kB / 0.4962 GB, free: 2.09 MB / 410.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.0006505/1.038, allocations: 290.4 kB / 0.4965 GB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/1.038, allocations: 71.2 kB / 0.4965 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009448/1.048, allocations: 4.771 MB / 0.5012 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.509e-05/1.048, allocations: 27.58 kB / 0.5012 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.048, allocations: 7.094 kB / 0.5012 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/1.048, allocations: 0 / 0.5012 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/1.06, allocations: 6.555 MB / 0.5076 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-05/1.06, allocations: 3.938 kB / 0.5076 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/1.061, allocations: 101.2 kB / 0.5077 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003913/1.065, allocations: 1.079 MB / 0.5088 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/1.065, allocations: 32.41 kB / 0.5088 GB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/1.069, allocations: 2.345 MB / 0.5111 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.069, allocations: 4.031 kB / 0.5111 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/1.081, allocations: 5.518 MB / 0.5165 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000466/1.081, allocations: 243.2 kB / 0.5167 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003286/1.082, allocations: 20 kB / 0.5167 GB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.083, allocations: 67.84 kB / 0.5168 GB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/1.083, allocations: 48.48 kB / 0.5168 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/1.083, allocations: 31.97 kB / 0.5169 GB, free: 1.891 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009294/1.084, allocations: 479 kB / 0.5173 GB, free: 1.422 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.084, allocations: 0 / 0.5173 GB, free: 1.422 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004908/1.089, allocations: 1.25 MB / 0.5186 GB, free: 176 kB / 426.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 (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.007797/1.097, allocations: 1.271 MB / 0.5198 GB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005814/1.103, allocations: 1.834 MB / 0.5216 GB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/1.103, allocations: 448 / 0.5216 GB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002852/1.106, allocations: 0.9109 MB / 0.5225 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003862/1.11, allocations: 310.4 kB / 0.5228 GB, free: 11.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008227/1.118, allocations: 2.762 MB / 0.5255 GB, free: 9.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/1.119, allocations: 1.094 MB / 0.5265 GB, free: 8.039 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/1.12, allocations: 63.42 kB / 0.5266 GB, free: 7.977 MB / 442.7 MB Notification: Performance of SimCode: time 1.283e-06/1.12, allocations: 0 / 0.5266 GB, free: 7.977 MB / 442.7 MB Notification: Performance of Templates: time 0.09844/1.218, allocations: 35.05 MB / 0.5608 GB, free: 5.039 MB / 474.7 MB