Running command: translateModel(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified") Notification: Performance of loadModel(ThermoPower): time 2.176/2.176, allocations: 254.6 MB / 267.7 MB, free: 12.44 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.47e-05/3.478e-05, allocations: 4 kB / 330.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3163, allocations: 60.22 MB / 391 MB, free: 4.895 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.516/9.832, allocations: 4.011 GB / 4.393 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/9.833, allocations: 89.08 kB / 4.393 GB, free: 90.51 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.448/18.28, allocations: 2.135 GB / 6.528 GB, free: 32.11 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.853e-06/18.28, allocations: 3.938 kB / 6.528 GB, free: 32.11 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003135/18.28, allocations: 110.9 kB / 6.528 GB, free: 32 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: 1246 * Number of variables: 1246 Notification: Performance of Generate backend data structure: time 0.02434/18.31, allocations: 5.417 MB / 6.533 GB, free: 26.54 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/18.31, allocations: 8.031 kB / 6.533 GB, free: 26.53 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/18.32, allocations: 1.52 MB / 6.535 GB, free: 25 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01251/18.33, allocations: 3.8 MB / 6.538 GB, free: 21.17 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004824/18.33, allocations: 352.8 kB / 6.539 GB, free: 20.83 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002966/18.33, allocations: 0.5112 MB / 6.539 GB, free: 20.32 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02559/18.36, allocations: 9.309 MB / 6.548 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/18.36, allocations: 3.938 kB / 6.548 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002073/18.36, allocations: 203.2 kB / 6.549 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002523/18.36, allocations: 261.5 kB / 6.549 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3854/18.75, allocations: 11.34 MB / 6.56 GB, free: 46.16 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.07111/18.82, allocations: 32.51 MB / 6.592 GB, free: 38.6 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03089/18.85, allocations: 11.14 MB / 6.603 GB, free: 37.29 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009459/18.86, allocations: 4.215 MB / 6.607 GB, free: 37.25 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.046/18.9, allocations: 22.88 MB / 6.629 GB, free: 29.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009123/18.91, allocations: 4.022 MB / 6.633 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=486): time 1.168e-05/18.91, allocations: 2.297 kB / 6.633 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=486): time 0.03583/18.95, allocations: 9.724 MB / 6.642 GB, free: 28.78 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/18.95, allocations: 264.8 kB / 6.643 GB, free: 28.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003668/18.95, allocations: 1.865 MB / 6.645 GB, free: 27.73 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001482/18.95, allocations: 123.2 kB / 6.645 GB, free: 27.63 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001659/18.96, allocations: 1.784 MB / 6.646 GB, free: 26.52 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002766/18.96, allocations: 1.732 MB / 6.648 GB, free: 25.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007404/18.96, allocations: 113.8 kB / 6.648 GB, free: 25.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004375/18.96, allocations: 0.5345 MB / 6.649 GB, free: 24.81 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007384/18.97, allocations: 3.277 MB / 6.652 GB, free: 23.35 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009438/18.98, allocations: 4.89 MB / 6.657 GB, free: 19.91 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009239/18.99, allocations: 4.237 MB / 6.661 GB, free: 18.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.101e-05/18.99, allocations: 17.03 kB / 6.661 GB, free: 18.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.03138/19.02, allocations: 11.64 MB / 6.672 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.005478/19.02, allocations: 18.68 MB / 6.69 GB, free: 9.891 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/19.02, allocations: 45.72 kB / 6.69 GB, free: 9.891 MB / 0.573 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.1176/19.14, allocations: 15 MB / 6.705 GB, free: 7.77 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/19.15, allocations: 0.7182 MB / 6.706 GB, free: 7.746 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03068/19.18, allocations: 13.87 MB / 6.719 GB, free: 404 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007559/19.18, allocations: 0.8074 MB / 6.72 GB, free: 12 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001967/19.19, allocations: 284.8 kB / 6.72 GB, free: 0 / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/19.19, allocations: 3.875 kB / 6.72 GB, free: 0 / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03076/19.22, allocations: 10.5 MB / 6.731 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001712/19.22, allocations: 48.47 kB / 6.731 GB, free: 12.08 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.079/19.3, allocations: 10.29 MB / 6.741 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004799/19.3, allocations: 0.8525 MB / 6.742 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02488/19.33, allocations: 12.7 MB / 6.754 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006822/19.33, allocations: 0.7295 MB / 6.755 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/19.33, allocations: 279.4 kB / 6.755 GB, free: 2.387 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.DigitalPI1.firstTrigger,DigitalPI1.firstTrigger,$whenCondition1,DigitalPI1.sampleTrigger,DigitalPI1.e,$PRE.DigitalPI1.e_int,DigitalPI1.e_int,DigitalPI1.e_int_wind,DigitalPI1.CSwind,DigitalPI1.CS) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (395): * Single equations (assignments): 391 * 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 {33 312} Notification: Performance of prepare postOptimizeDAE: time 0.001918/19.34, allocations: 432.2 kB / 6.755 GB, free: 2.082 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/19.34, allocations: 346.6 kB / 6.756 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03068/19.37, allocations: 10.47 MB / 6.766 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-05/19.37, allocations: 48 kB / 6.766 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-05/19.37, allocations: 22.73 kB / 6.766 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001037/19.37, allocations: 24.19 kB / 6.766 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4207/19.79, allocations: 18.02 MB / 6.784 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-05/19.79, allocations: 1.359 kB / 6.784 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006206/19.79, allocations: 0.7947 MB / 6.784 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01991/19.81, allocations: 3.874 MB / 6.788 GB, free: 86.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001527/19.82, allocations: 196.3 kB / 6.788 GB, free: 86.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05802/19.87, allocations: 48.65 MB / 6.836 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.823e-06/19.87, allocations: 5.828 kB / 6.836 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03868/19.91, allocations: 14.23 MB / 6.85 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00414/19.92, allocations: 1.332 MB / 6.851 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001312/19.92, allocations: 141.8 kB / 6.851 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004822/19.92, allocations: 349.5 kB / 6.852 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001362/19.92, allocations: 388.2 kB / 6.852 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008072/19.93, allocations: 195.8 kB / 6.852 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002732/19.93, allocations: 1.367 MB / 6.853 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.75e-07/19.93, allocations: 0 / 6.853 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01485/19.94, allocations: 3.262 MB / 6.857 GB, free: 55.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 38 (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.p,Plant.GasFlowActuator.y,Plant.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y,Plant.WaterInTSensor.y) * Number of discrete variables: 8 (DigitalPI1.sampleTrigger,$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 (408): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,(10,64.0%) 21,(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,(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.003432/19.95, allocations: 1.421 MB / 6.858 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.05061/20, allocations: 14.36 MB / 6.872 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/20, allocations: 4.531 kB / 6.872 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01706/20.01, allocations: 6.957 MB / 6.879 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01014/20.02, allocations: 1.611 MB / 6.88 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02571/20.05, allocations: 11.22 MB / 6.891 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004176/20.05, allocations: 3.087 MB / 6.894 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01161/20.07, allocations: 2.354 MB / 6.897 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/20.07, allocations: 292 kB / 6.897 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.684e-06/20.07, allocations: 0 / 6.897 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.7133/20.78, allocations: 169.1 MB / 7.062 GB, free: 82.89 MB / 0.6042 GB