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_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 1.837/1.837, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.564e-05, allocations: 2.188 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 38.77 MB / 266.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.31/0.4132, allocations: 38.75 MB / 305.6 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02875/0.442, allocations: 16.79 MB / 322.4 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.4432, allocations: 28.06 kB / 322.5 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.4444, allocations: 293.5 kB / 322.7 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01359/0.458, allocations: 3.352 MB / 326.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006364/0.4644, allocations: 1.544 MB / 327.6 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.4663, allocations: 0.6768 MB / 328.3 MB, free: 192 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008766/0.4672, allocations: 339.8 kB / 328.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0217/0.4889, allocations: 8.818 MB / 337.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007678/0.4967, allocations: 3.017 MB / 340.5 MB, free: 8.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02056/0.5173, allocations: 6.657 MB / 347.1 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002867/0.5202, allocations: 412 kB / 347.5 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003859/0.5206, allocations: 119.5 kB / 347.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004142/0.5211, allocations: 80 kB / 347.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009078/0.5302, allocations: 3.044 MB / 350.8 MB, free: 14.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5302, allocations: 0 / 350.8 MB, free: 14.35 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5302, allocations: 0 / 350.8 MB, free: 14.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.425e-05/0.5303, allocations: 3.938 kB / 350.8 MB, free: 14.34 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.004905/0.5352, allocations: 1.412 MB / 352.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.5353, allocations: 16.03 kB / 352.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003178/0.5385, allocations: 262.9 kB / 352.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.5397, allocations: 468.6 kB / 352.9 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.712e-05/0.5398, allocations: 45.31 kB / 353 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.54, allocations: 59.94 kB / 353 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003194/0.5432, allocations: 0.8821 MB / 353.9 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.5433, allocations: 4 kB / 353.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.5434, allocations: 24 kB / 353.9 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.5434, allocations: 12 kB / 353.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003043/0.5465, allocations: 0.7105 MB / 354.7 MB, free: 10.31 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.0075/0.554, allocations: 4.087 MB / 358.7 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.5569, allocations: 0.5998 MB / 359.3 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2667/0.8237, allocations: 71.85 MB / 431.2 MB, free: 5.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002258/0.826, allocations: 0.5299 MB / 431.7 MB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005144/0.8265, allocations: 75.33 kB / 431.8 MB, free: 4.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 3.526e-06/0.8266, allocations: 4 kB / 431.8 MB, free: 4.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.01742/0.844, allocations: 3.241 MB / 435 MB, free: 1.301 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/0.8442, allocations: 273.5 kB / 435.3 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007251/0.845, allocations: 393.1 kB / 435.7 MB, free: 0.582 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.8451, allocations: 37.7 kB / 435.7 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.8454, allocations: 362.6 kB / 436.1 MB, free: 184 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2414/1.087, allocations: 193 kB / 436.3 MB, free: 139.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.087, allocations: 14.69 kB / 436.3 MB, free: 139.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/1.087, allocations: 338.6 kB / 436.6 MB, free: 139.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/1.088, allocations: 254.4 kB / 436.9 MB, free: 139.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/1.09, allocations: 445.1 kB / 437.3 MB, free: 139 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/1.091, allocations: 366.6 kB / 437.7 MB, free: 139 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/1.091, allocations: 1.375 kB / 437.7 MB, free: 139 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003227/1.094, allocations: 0.9264 MB / 438.6 MB, free: 138.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.346e-05/1.094, allocations: 73.09 kB / 438.7 MB, free: 138.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/1.094, allocations: 5.125 kB / 438.7 MB, free: 138.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005319/1.1, allocations: 351.3 kB / 439 MB, free: 138.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/1.101, allocations: 131.9 kB / 439.1 MB, free: 138.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/1.103, allocations: 0.8047 MB / 439.9 MB, free: 138.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/1.104, allocations: 63.2 kB / 440 MB, free: 138.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/1.104, allocations: 42.27 kB / 440 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.0006663/1.105, allocations: 279.9 kB / 440.3 MB, free: 137.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/1.105, allocations: 63.95 kB / 440.4 MB, free: 137.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009523/1.115, allocations: 4.636 MB / 445 MB, free: 135.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.161e-05/1.115, allocations: 30.39 kB / 445 MB, free: 135.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.115, allocations: 1.188 kB / 445 MB, free: 135.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/1.115, allocations: 8.016 kB / 445 MB, free: 135.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/1.127, allocations: 6.441 MB / 451.5 MB, free: 132.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.648e-05/1.127, allocations: 7.406 kB / 451.5 MB, free: 132.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/1.128, allocations: 91.06 kB / 451.6 MB, free: 132.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003544/1.132, allocations: 1.076 MB / 452.7 MB, free: 132.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/1.132, allocations: 23.88 kB / 452.7 MB, free: 132.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002867/1.135, allocations: 2.352 MB / 455 MB, free: 130.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.135, allocations: 0 / 455 MB, free: 130.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009682/1.145, allocations: 5.429 MB / 460.5 MB, free: 126.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004178/1.145, allocations: 234.6 kB / 460.7 MB, free: 125.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002862/1.145, allocations: 17.12 kB / 460.7 MB, free: 125.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.146, allocations: 67.67 kB / 460.8 MB, free: 125.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.147, allocations: 49.77 kB / 460.8 MB, free: 125.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.22e-05/1.147, allocations: 31.94 kB / 460.9 MB, free: 125.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007587/1.148, allocations: 463 kB / 461.3 MB, free: 125.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.148, allocations: 1.188 kB / 461.3 MB, free: 125.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003714/1.151, allocations: 1.089 MB / 462.4 MB, free: 124.3 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.006945/1.158, allocations: 1.251 MB / 463.7 MB, free: 123.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003098/1.161, allocations: 1.105 MB / 464.8 MB, free: 122.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.161, allocations: 4 kB / 464.8 MB, free: 122.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001961/1.163, allocations: 0.8361 MB / 465.6 MB, free: 121.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/1.166, allocations: 284.8 kB / 465.9 MB, free: 121.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/1.171, allocations: 2.709 MB / 468.6 MB, free: 118.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/1.172, allocations: 1.093 MB / 469.7 MB, free: 117.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/1.172, allocations: 55.44 kB / 469.7 MB, free: 117.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/1.172, allocations: 0 / 469.7 MB, free: 117.2 MB / 362.7 MB Notification: Performance of Templates: time 0.06554/1.238, allocations: 34.26 MB / 0.4922 GB, free: 82.89 MB / 362.7 MB