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_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.364e-05/2.377e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2515, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.408/6.66, allocations: 2.669 GB / 2.957 GB, free: 108.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/6.66, allocations: 87.67 kB / 2.957 GB, free: 108.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074/8.734, allocations: 489.6 MB / 3.435 GB, free: 38.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.206e-06/8.734, allocations: 0 / 3.435 GB, free: 38.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.857e-05/8.734, allocations: 13.09 kB / 3.435 GB, free: 38.7 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.006353/8.741, allocations: 1.847 MB / 3.437 GB, free: 37.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/8.741, allocations: 14.41 kB / 3.437 GB, free: 37.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002703/8.743, allocations: 248.2 kB / 3.437 GB, free: 37.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/8.745, allocations: 0.5041 MB / 3.437 GB, free: 37.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/8.745, allocations: 22.28 kB / 3.437 GB, free: 37.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/8.745, allocations: 32.41 kB / 3.437 GB, free: 37.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001159/8.746, allocations: 493.3 kB / 3.438 GB, free: 37.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/8.747, allocations: 0.6506 MB / 3.438 GB, free: 37.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/8.747, allocations: 3.953 kB / 3.438 GB, free: 37.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.293e-05/8.747, allocations: 3.875 kB / 3.438 GB, free: 37.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/8.747, allocations: 15.5 kB / 3.438 GB, free: 37.21 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.1547/8.902, allocations: 66.4 MB / 3.503 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/8.903, allocations: 347.3 kB / 3.504 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/8.903, allocations: 196 kB / 3.504 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1021/9.005, allocations: 39.97 MB / 3.543 GB, free: 18.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000656/9.006, allocations: 341.7 kB / 3.543 GB, free: 18.61 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004983/9.007, allocations: 71.36 kB / 3.543 GB, free: 18.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=50): time 4.591e-06/9.007, allocations: 0 / 3.543 GB, free: 18.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=58): time 0.01181/9.019, allocations: 2.248 MB / 3.545 GB, free: 17.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/9.019, allocations: 217.9 kB / 3.546 GB, free: 16.83 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/9.019, allocations: 373 kB / 3.546 GB, free: 16.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/9.019, allocations: 25.7 kB / 3.546 GB, free: 16.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/9.02, allocations: 394.6 kB / 3.546 GB, free: 16.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/9.02, allocations: 184.6 kB / 3.547 GB, free: 16.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/9.02, allocations: 0 / 3.547 GB, free: 16.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/9.02, allocations: 350.7 kB / 3.547 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/9.021, allocations: 223.6 kB / 3.547 GB, free: 15.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/9.021, allocations: 420.3 kB / 3.548 GB, free: 15.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/9.023, allocations: 376 kB / 3.548 GB, free: 15.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.501e-06/9.023, allocations: 0 / 3.548 GB, free: 15.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003466/9.027, allocations: 0.8646 MB / 3.549 GB, free: 14.56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001029/9.028, allocations: 1.983 MB / 3.551 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/9.028, allocations: 4 kB / 3.551 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/9.029, allocations: 249.8 kB / 3.551 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/9.03, allocations: 129.9 kB / 3.551 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/9.032, allocations: 0.857 MB / 3.552 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/9.033, allocations: 62.02 kB / 3.552 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/9.033, allocations: 46.34 kB / 3.552 GB, free: 11.47 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/9.033, allocations: 4 kB / 3.552 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003426/9.037, allocations: 0.8346 MB / 3.553 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/9.037, allocations: 4 kB / 3.553 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009985/9.038, allocations: 255.1 kB / 3.553 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/9.039, allocations: 122.9 kB / 3.553 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/9.041, allocations: 0.8559 MB / 3.554 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008086/9.041, allocations: 51.12 kB / 3.554 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/9.042, allocations: 45.47 kB / 3.554 GB, free: 10.02 MB / 458.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.0003807/9.042, allocations: 206.5 kB / 3.554 GB, free: 9.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/9.042, allocations: 67.25 kB / 3.554 GB, free: 9.754 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006203/9.048, allocations: 4.294 MB / 3.559 GB, free: 7.609 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.809e-05/9.049, allocations: 28.55 kB / 3.559 GB, free: 7.602 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.916e-06/9.049, allocations: 4 kB / 3.559 GB, free: 7.598 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/9.049, allocations: 7.75 kB / 3.559 GB, free: 7.594 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009001/9.058, allocations: 5.994 MB / 3.564 GB, free: 4.496 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/9.058, allocations: 0 / 3.564 GB, free: 4.496 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005172/9.058, allocations: 83.38 kB / 3.565 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002754/9.061, allocations: 1.265 MB / 3.566 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/9.061, allocations: 18.11 kB / 3.566 GB, free: 3.859 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003452/9.065, allocations: 2.864 MB / 3.569 GB, free: 2.258 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.892e-06/9.065, allocations: 0 / 3.569 GB, free: 2.258 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2706/9.335, allocations: 5.621 MB / 3.574 GB, free: 85.58 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/9.336, allocations: 165.7 kB / 3.574 GB, free: 85.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/9.336, allocations: 9.031 kB / 3.574 GB, free: 85.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008524/9.337, allocations: 59.16 kB / 3.574 GB, free: 85.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/9.337, allocations: 46.88 kB / 3.574 GB, free: 85.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/9.337, allocations: 28.2 kB / 3.574 GB, free: 85.49 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005138/9.338, allocations: 277.9 kB / 3.575 GB, free: 85.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.56e-07/9.338, allocations: 0 / 3.575 GB, free: 85.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005945/9.344, allocations: 1.285 MB / 3.576 GB, free: 85.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 25 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.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 (49): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * 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.009497/9.353, allocations: 1.9 MB / 3.578 GB, free: 85.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00349/9.357, allocations: 1.629 MB / 3.579 GB, free: 85.01 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.126e-06/9.357, allocations: 3.375 kB / 3.579 GB, free: 85.01 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/9.358, allocations: 0.7794 MB / 3.58 GB, free: 84.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/9.36, allocations: 209.1 kB / 3.58 GB, free: 84.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/9.363, allocations: 1.484 MB / 3.582 GB, free: 84.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/9.363, allocations: 1.036 MB / 3.583 GB, free: 83.83 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/9.364, allocations: 63.58 kB / 3.583 GB, free: 83.83 MB / 458.7 MB Notification: Performance of SimCode: time 2.495e-06/9.364, allocations: 0 / 3.583 GB, free: 83.83 MB / 458.7 MB Notification: Performance of Templates: time 0.05929/9.423, allocations: 36.39 MB / 3.618 GB, free: 81.64 MB / 458.7 MB