Running command: translateModel(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator") Notification: Performance of loadModel(ThermoPower): time 2.128/2.128, allocations: 254.6 MB / 267.6 MB, free: 12.45 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.998e-05, allocations: 4 kB / 330.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3056, allocations: 60.23 MB / 391 MB, free: 4.879 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.321/8.626, allocations: 3.685 GB / 4.067 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/8.627, allocations: 83.95 kB / 4.067 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.362/12.99, allocations: 0.9213 GB / 4.989 GB, free: 46.97 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.156e-06/12.99, allocations: 0 / 4.989 GB, free: 46.97 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003409/12.99, allocations: 117.6 kB / 4.989 GB, free: 46.96 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1372 * Number of variables: 1372 Notification: Performance of Generate backend data structure: time 0.02669/13.02, allocations: 5.969 MB / 4.995 GB, free: 45.02 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/13.02, allocations: 10.97 kB / 4.995 GB, free: 45.02 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01668/13.03, allocations: 2.084 MB / 4.997 GB, free: 44.75 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01414/13.05, allocations: 4.175 MB / 5.001 GB, free: 44.22 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005649/13.05, allocations: 394.2 kB / 5.001 GB, free: 44.21 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003391/13.05, allocations: 0.5548 MB / 5.002 GB, free: 44.19 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03893/13.09, allocations: 12.93 MB / 5.014 GB, free: 43.79 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/13.09, allocations: 5.016 kB / 5.014 GB, free: 43.79 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00256/13.09, allocations: 220.3 kB / 5.015 GB, free: 43.79 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002748/13.09, allocations: 282.2 kB / 5.015 GB, free: 43.77 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03852/13.13, allocations: 14.85 MB / 5.029 GB, free: 43.75 MB / 0.5573 GB 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.07926/13.21, allocations: 41.26 MB / 5.07 GB, free: 19.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03419/13.24, allocations: 21.8 MB / 5.091 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01013/13.25, allocations: 4.874 MB / 5.096 GB, free: 1.492 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6129/13.87, allocations: 113 MB / 5.206 GB, free: 33.45 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02084/13.89, allocations: 7.284 MB / 5.213 GB, free: 33.15 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=597): time 1.44e-05/13.89, allocations: 3.469 kB / 5.213 GB, free: 33.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=598): time 0.09526/13.98, allocations: 28.75 MB / 5.241 GB, free: 30.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/13.98, allocations: 0.4974 MB / 5.242 GB, free: 30.32 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/13.99, allocations: 1.456 MB / 5.243 GB, free: 30.15 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.002076/13.99, allocations: 142.6 kB / 5.243 GB, free: 30.12 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001579/13.99, allocations: 1.443 MB / 5.245 GB, free: 29.65 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.003799/13.99, allocations: 2.084 MB / 5.247 GB, free: 28.47 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/14, allocations: 110.5 kB / 5.247 GB, free: 28.46 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0005552/14, allocations: 0.5155 MB / 5.247 GB, free: 28.15 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01083/14.01, allocations: 5.006 MB / 5.252 GB, free: 28.14 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0118/14.02, allocations: 5.74 MB / 5.258 GB, free: 27.56 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/14.03, allocations: 5.655 MB / 5.263 GB, free: 27.45 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-05/14.03, allocations: 6.125 kB / 5.263 GB, free: 27.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.04957/14.08, allocations: 17.53 MB / 5.281 GB, free: 26.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007079/14.08, allocations: 3.442 MB / 5.284 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/14.08, allocations: 10.34 kB / 5.284 GB, free: 23.32 MB / 0.5886 GB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (initialization): time 0.2037/14.29, allocations: 30.26 MB / 5.313 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/14.29, allocations: 385.4 kB / 5.314 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0602/14.35, allocations: 23.02 MB / 5.336 GB, free: 9.609 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008543/14.36, allocations: 0.7003 MB / 5.337 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002392/14.36, allocations: 353.6 kB / 5.337 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/14.36, allocations: 5.219 kB / 5.337 GB, free: 8.812 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4267/14.79, allocations: 16.33 MB / 5.353 GB, free: 92.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-05/14.79, allocations: 9.375 kB / 5.353 GB, free: 92.48 MB / 0.6042 GB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (initialization): time 0.1553/14.94, allocations: 22.98 MB / 5.376 GB, free: 92.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/14.95, allocations: 480.2 kB / 5.376 GB, free: 92.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04616/14.99, allocations: 21.23 MB / 5.397 GB, free: 89.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008021/15, allocations: 0.6872 MB / 5.398 GB, free: 89.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002187/15, allocations: 348.2 kB / 5.398 GB, free: 89.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.DigitalPI1.firstTrigger,DigitalPI1.firstTrigger,$whenCondition1,DigitalPI1.sampleTrigger,Plant.Boiler.WaterSide.fluidState[11].phase,Plant.Boiler.WaterSide.fluidState[10].phase,Plant.Boiler.WaterSide.fluidState[9].phase,Plant.Boiler.WaterSide.fluidState[8].phase,Plant.Boiler.WaterSide.fluidState[7].phase,Plant.Boiler.WaterSide.fluidState[6].phase,Plant.Boiler.WaterSide.fluidState[5].phase,Plant.Boiler.WaterSide.fluidState[4].phase,Plant.Boiler.WaterSide.fluidState[3].phase,Plant.Boiler.WaterSide.fluidState[2].phase,Plant.Boiler.WaterSide.fluidState[1].phase,DigitalPI1.e,$PRE.DigitalPI1.e_int,DigitalPI1.e_int,DigitalPI1.e_int_wind,DigitalPI1.CSwind,DigitalPI1.CS,Plant.WaterOut.fluidState.phase,Plant.WaterIn.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {37 458} Notification: Performance of prepare postOptimizeDAE: time 0.003398/15.01, allocations: 386.9 kB / 5.398 GB, free: 89.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00204/15.01, allocations: 350.4 kB / 5.399 GB, free: 89.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06142/15.07, allocations: 33.85 MB / 5.432 GB, free: 89.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001126/15.07, allocations: 93.78 kB / 5.432 GB, free: 89.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.198e-05/15.07, allocations: 17.62 kB / 5.432 GB, free: 89.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001422/15.07, allocations: 33.05 kB / 5.432 GB, free: 89.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08677/15.16, allocations: 51.89 MB / 5.483 GB, free: 68.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.252e-05/15.16, allocations: 0 / 5.483 GB, free: 68.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008549/15.16, allocations: 1.157 MB / 5.484 GB, free: 68.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01924/15.18, allocations: 4.549 MB / 5.488 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00198/15.19, allocations: 282.9 kB / 5.488 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05704/15.24, allocations: 51.09 MB / 5.538 GB, free: 23.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.991e-06/15.24, allocations: 0 / 5.538 GB, free: 23.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04817/15.29, allocations: 20.5 MB / 5.558 GB, free: 5.328 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006594/15.3, allocations: 1.746 MB / 5.56 GB, free: 3.836 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003233/15.3, allocations: 202.4 kB / 5.56 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007749/15.31, allocations: 0.5621 MB / 5.561 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002766/15.31, allocations: 467.9 kB / 5.561 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002232/15.31, allocations: 256.2 kB / 5.561 GB, free: 2.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00256/15.32, allocations: 1.22 MB / 5.563 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.031e-06/15.32, allocations: 0 / 5.563 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.03098/15.35, allocations: 5.379 MB / 5.568 GB, free: 376 kB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 40 (Plant.Boiler.WaterSide.p,Plant.Boiler.WaterSide.htilde[1],Plant.Boiler.WaterSide.htilde[2],Plant.Boiler.WaterSide.htilde[3],Plant.Boiler.WaterSide.htilde[4],Plant.Boiler.WaterSide.htilde[5],Plant.Boiler.WaterSide.htilde[6],Plant.Boiler.WaterSide.htilde[7],Plant.Boiler.WaterSide.htilde[8],Plant.Boiler.WaterSide.htilde[9],Plant.Boiler.WaterSide.htilde[10],Plant.Boiler.TubeWalls.Tvol[1],Plant.Boiler.TubeWalls.Tvol[2],Plant.Boiler.TubeWalls.Tvol[3],Plant.Boiler.TubeWalls.Tvol[4],Plant.Boiler.TubeWalls.Tvol[5],Plant.Boiler.TubeWalls.Tvol[6],Plant.Boiler.TubeWalls.Tvol[7],Plant.Boiler.TubeWalls.Tvol[8],Plant.Boiler.TubeWalls.Tvol[9],Plant.Boiler.TubeWalls.Tvol[10],Plant.Boiler.GasSide.Ttilde[1],Plant.Boiler.GasSide.Ttilde[2],Plant.Boiler.GasSide.Ttilde[3],Plant.Boiler.GasSide.Ttilde[4],Plant.Boiler.GasSide.Ttilde[5],Plant.Boiler.GasSide.Ttilde[6],Plant.Boiler.GasSide.Ttilde[7],Plant.Boiler.GasSide.Ttilde[8],Plant.Boiler.GasSide.Ttilde[9],Plant.Boiler.GasSide.Ttilde[10],Plant.Boiler.GasSide.Xtilde[1,1],Plant.Boiler.GasSide.Xtilde[1,2],Plant.Boiler.GasSide.p,Plant.GasFlowActuator.y,Plant.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y,Plant.WaterInTSensor.y) * Number of discrete variables: 30 (DigitalPI1.sampleTrigger,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$whenCondition1,DigitalPI1.firstTrigger,DigitalPI1.e,DigitalPI1.e_int,DigitalPI1.e_int_wind,DigitalPI1.CSwind,DigitalPI1.CS) * Number of discrete states: 1 (DigitalPI1.e_int) * Top-level inputs: 0 Notification: Strong component statistics for simulation (533): * Single equations (assignments): 490 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 22 {(11,62.8%) 20,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(11,62.8%) 20,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.446/15.79, allocations: 2.876 MB / 5.571 GB, free: 87.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0538/15.85, allocations: 19.68 MB / 5.59 GB, free: 87.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/15.85, allocations: 11.97 kB / 5.59 GB, free: 87.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01859/15.87, allocations: 8.943 MB / 5.599 GB, free: 85.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01162/15.88, allocations: 1.922 MB / 5.6 GB, free: 85.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03175/15.91, allocations: 14.45 MB / 5.615 GB, free: 83.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00456/15.91, allocations: 3.588 MB / 5.618 GB, free: 82.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.009279/15.92, allocations: 1.863 MB / 5.62 GB, free: 82.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002368/15.93, allocations: 326.7 kB / 5.62 GB, free: 82.19 MB / 0.6042 GB Notification: Performance of SimCode: time 1.727e-06/15.93, allocations: 0 / 5.62 GB, free: 82.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.9459/16.87, allocations: 307.9 MB / 5.921 GB, free: 67.95 MB / 0.6042 GB