Running command: "" <> buildModelFMU(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulatorSimplified,fileNamePrefix="ThermoPower_ThermoPower_Examples_HRB_Simulators_ClosedLoopDigitalSimulatorSimplified",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.321/2.321, allocations: 254.6 MB / 267.7 MB, free: 12.46 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.721e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4025, allocations: 60.24 MB / 391.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.37/11.78, allocations: 4.011 GB / 4.393 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/11.78, allocations: 91.41 kB / 4.393 GB, free: 50.35 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 10.26/22.04, allocations: 2.134 GB / 6.528 GB, free: 20.81 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.434e-06/22.04, allocations: 4 kB / 6.528 GB, free: 20.81 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0005264/22.04, allocations: 103.9 kB / 6.528 GB, free: 20.71 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.03402/22.08, allocations: 5.425 MB / 6.533 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/22.08, allocations: 8.031 kB / 6.533 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003786/22.08, allocations: 0.6582 MB / 6.534 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/22.09, allocations: 1.52 MB / 6.535 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01654/22.11, allocations: 3.796 MB / 6.539 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006183/22.11, allocations: 353.2 kB / 6.539 GB, free: 8.809 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003634/22.11, allocations: 0.5073 MB / 6.54 GB, free: 8.301 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.482/22.6, allocations: 9.309 MB / 6.549 GB, free: 34.03 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003416/22.6, allocations: 1.375 kB / 6.549 GB, free: 34.03 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00357/22.6, allocations: 201.6 kB / 6.549 GB, free: 34.03 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006228/22.6, allocations: 266.1 kB / 6.55 GB, free: 34.02 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03515/22.64, allocations: 11.34 MB / 6.561 GB, free: 34 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.08893/22.73, allocations: 32.51 MB / 6.592 GB, free: 26.42 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03896/22.76, allocations: 11.15 MB / 6.603 GB, free: 25.1 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01127/22.78, allocations: 4.214 MB / 6.607 GB, free: 25.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0583/22.83, allocations: 22.88 MB / 6.63 GB, free: 33.52 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01229/22.85, allocations: 4.027 MB / 6.634 GB, free: 33.36 MB / 0.573 GB Notification: Performance of pre-optimization done (n=486): time 1.209e-05/22.85, allocations: 0 / 6.634 GB, free: 33.36 MB / 0.573 GB Notification: Performance of matching and sorting (n=486): time 0.04867/22.9, allocations: 9.728 MB / 6.643 GB, free: 30.22 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002091/22.9, allocations: 261.7 kB / 6.643 GB, free: 29.96 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004339/22.9, allocations: 1.862 MB / 6.645 GB, free: 29.18 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.00187/22.9, allocations: 118.6 kB / 6.645 GB, free: 29.08 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002208/22.9, allocations: 1.786 MB / 6.647 GB, free: 27.97 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003611/22.91, allocations: 1.73 MB / 6.649 GB, free: 26.74 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/22.91, allocations: 115.1 kB / 6.649 GB, free: 26.65 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0006858/22.91, allocations: 0.5378 MB / 6.649 GB, free: 26.25 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009712/22.92, allocations: 3.279 MB / 6.653 GB, free: 24.79 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01154/22.93, allocations: 4.883 MB / 6.657 GB, free: 21.35 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/22.94, allocations: 4.247 MB / 6.661 GB, free: 19.52 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.082e-05/22.94, allocations: 11.12 kB / 6.661 GB, free: 19.52 MB / 0.573 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.04505/22.99, allocations: 11.64 MB / 6.673 GB, free: 14.79 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.007845/23, allocations: 18.69 MB / 6.691 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001686/23, allocations: 47 kB / 6.691 GB, free: 11.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.1896/23.19, allocations: 14.99 MB / 6.706 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005376/23.19, allocations: 0.7181 MB / 6.706 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04113/23.23, allocations: 13.87 MB / 6.72 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/23.24, allocations: 0.8174 MB / 6.721 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002105/23.24, allocations: 278.6 kB / 6.721 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/23.25, allocations: 2.781 kB / 6.721 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03999/23.29, allocations: 10.46 MB / 6.731 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002065/23.29, allocations: 45.31 kB / 6.731 GB, free: 13.33 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.1265/23.41, allocations: 10.28 MB / 6.741 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007031/23.42, allocations: 0.8548 MB / 6.742 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03329/23.45, allocations: 12.7 MB / 6.755 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009653/23.46, allocations: 0.7335 MB / 6.755 GB, free: 3.684 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001944/23.46, allocations: 276.2 kB / 6.756 GB, free: 3.637 MB / 0.6042 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.002821/23.47, allocations: 426.1 kB / 6.756 GB, free: 3.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001656/23.47, allocations: 346.7 kB / 6.756 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4966/23.97, allocations: 10.5 MB / 6.767 GB, free: 78.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.275e-05/23.97, allocations: 46.53 kB / 6.767 GB, free: 78.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001122/23.97, allocations: 17.62 kB / 6.767 GB, free: 78.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001586/23.97, allocations: 29.02 kB / 6.767 GB, free: 78.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06596/24.03, allocations: 18.02 MB / 6.784 GB, free: 78.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.671e-05/24.03, allocations: 3.406 kB / 6.784 GB, free: 78.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008816/24.04, allocations: 0.7851 MB / 6.785 GB, free: 78.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02437/24.06, allocations: 3.88 MB / 6.789 GB, free: 78.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001938/24.07, allocations: 193.3 kB / 6.789 GB, free: 78.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07188/24.14, allocations: 48.66 MB / 6.837 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/24.14, allocations: 3.875 kB / 6.837 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05294/24.19, allocations: 14.23 MB / 6.85 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005353/24.2, allocations: 1.335 MB / 6.852 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002696/24.2, allocations: 138.8 kB / 6.852 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008467/24.21, allocations: 350.2 kB / 6.852 GB, free: 47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002606/24.21, allocations: 395.8 kB / 6.853 GB, free: 47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001896/24.21, allocations: 195.1 kB / 6.853 GB, free: 47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003467/24.22, allocations: 1.369 MB / 6.854 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.32e-07/24.22, allocations: 1.688 kB / 6.854 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02012/24.24, allocations: 3.256 MB / 6.857 GB, free: 46.68 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.05703/24.29, allocations: 16.18 MB / 6.873 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.08292/24.38, allocations: 14.37 MB / 6.887 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.715e-05/24.38, allocations: 4.438 kB / 6.887 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02529/24.4, allocations: 6.96 MB / 6.894 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01448/24.42, allocations: 1.605 MB / 6.895 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04252/24.46, allocations: 12.61 MB / 6.908 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00622/24.47, allocations: 3.092 MB / 6.911 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01556/24.48, allocations: 2.364 MB / 6.913 GB, free: 31.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005522/24.49, allocations: 1.686 MB / 6.915 GB, free: 30.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.412e-06/24.49, allocations: 3.406 kB / 6.915 GB, free: 30.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.033/25.52, allocations: 212.1 MB / 7.122 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/25.52, allocations: 201.6 kB / 7.122 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/37.54, allocations: 0 / 7.122 GB, free: 50.48 MB / 0.6042 GB