Running command: translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS") Notification: Performance of loadModel(ThermoPower): time 2.055/2.055, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.637e-05/2.643e-05, allocations: 4 kB / 330.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3058, allocations: 60.23 MB / 391 MB, free: 4.871 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.406/8.712, allocations: 3.685 GB / 4.067 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/8.712, allocations: 87.95 kB / 4.067 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.035/13.75, allocations: 1.05 GB / 5.117 GB, free: 3.164 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.046e-06/13.75, allocations: 0 / 5.117 GB, free: 3.164 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003388/13.75, allocations: 104 kB / 5.117 GB, free: 3.062 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: 1371 * Number of variables: 1371 Notification: Performance of Generate backend data structure: time 0.02763/13.78, allocations: 5.926 MB / 5.123 GB, free: 13.07 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/13.78, allocations: 12.02 kB / 5.123 GB, free: 13.06 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/13.79, allocations: 2.012 MB / 5.125 GB, free: 11.04 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/13.81, allocations: 4.127 MB / 5.129 GB, free: 6.852 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006914/13.81, allocations: 402.2 kB / 5.129 GB, free: 6.457 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003617/13.81, allocations: 0.558 MB / 5.13 GB, free: 5.898 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4143/14.23, allocations: 12.84 MB / 5.142 GB, free: 35.43 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/14.23, allocations: 0 / 5.142 GB, free: 35.43 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002852/14.23, allocations: 219.9 kB / 5.143 GB, free: 35.43 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002889/14.23, allocations: 280.3 kB / 5.143 GB, free: 35.42 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04098/14.27, allocations: 14.76 MB / 5.157 GB, free: 35.39 MB / 0.573 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.08304/14.35, allocations: 41 MB / 5.197 GB, free: 21.88 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03976/14.39, allocations: 21.61 MB / 5.218 GB, free: 26.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01014/14.4, allocations: 4.818 MB / 5.223 GB, free: 26.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2187/14.62, allocations: 97.03 MB / 5.318 GB, free: 29.83 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/14.62, allocations: 108.1 kB / 5.318 GB, free: 29.78 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=593): time 1.26e-05/14.62, allocations: 4 kB / 5.318 GB, free: 29.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=594): time 0.09426/14.72, allocations: 27.54 MB / 5.345 GB, free: 25.62 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/14.72, allocations: 142.3 kB / 5.345 GB, free: 25.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002904/14.72, allocations: 1.441 MB / 5.346 GB, free: 24.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.002118/14.72, allocations: 141.2 kB / 5.347 GB, free: 24.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/14.72, allocations: 1.419 MB / 5.348 GB, free: 23.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.003754/14.73, allocations: 2.063 MB / 5.35 GB, free: 22.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00182/14.73, allocations: 108.2 kB / 5.35 GB, free: 22.49 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0006546/14.73, allocations: 0.5176 MB / 5.351 GB, free: 22.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01122/14.74, allocations: 4.947 MB / 5.355 GB, free: 19.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.012/14.75, allocations: 5.56 MB / 5.361 GB, free: 16.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/14.76, allocations: 5.59 MB / 5.366 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.549e-05/14.77, allocations: 4 kB / 5.366 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.4504/15.22, allocations: 17.96 MB / 5.384 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000699/15.22, allocations: 3.285 MB / 5.387 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/15.22, allocations: 9.656 kB / 5.387 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.22/15.44, allocations: 29.38 MB / 5.416 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/15.44, allocations: 416.5 kB / 5.416 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04791/15.49, allocations: 22.44 MB / 5.438 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00783/15.49, allocations: 0.683 MB / 5.439 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002041/15.5, allocations: 348.2 kB / 5.439 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/15.5, allocations: 7.062 kB / 5.439 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0428/15.54, allocations: 16.02 MB / 5.455 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.116e-05/15.54, allocations: 10.45 kB / 5.455 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1721/15.71, allocations: 22.93 MB / 5.477 GB, free: 104.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003118/15.71, allocations: 0.4962 MB / 5.478 GB, free: 104.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04642/15.76, allocations: 21.05 MB / 5.498 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008481/15.77, allocations: 0.6677 MB / 5.499 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002351/15.77, allocations: 350.7 kB / 5.499 GB, free: 102 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 13 (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,Plant.WaterOut.fluidState.phase,Plant.WaterIn.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 192 * 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 {34 449} Notification: Performance of prepare postOptimizeDAE: time 0.0037/15.78, allocations: 370 kB / 5.5 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002235/15.78, allocations: 343.3 kB / 5.5 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06358/15.84, allocations: 33.61 MB / 5.533 GB, free: 94.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/15.84, allocations: 87.08 kB / 5.533 GB, free: 94.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.2e-05/15.84, allocations: 19.41 kB / 5.533 GB, free: 94.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001493/15.84, allocations: 29.3 kB / 5.533 GB, free: 94.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08648/15.93, allocations: 51.35 MB / 5.583 GB, free: 57.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.443e-05/15.93, allocations: 0 / 5.583 GB, free: 57.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009891/15.94, allocations: 1.158 MB / 5.584 GB, free: 56.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01887/15.96, allocations: 4.567 MB / 5.589 GB, free: 53.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001876/15.96, allocations: 272.2 kB / 5.589 GB, free: 53.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4411/16.4, allocations: 51.08 MB / 5.639 GB, free: 92.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.37e-06/16.4, allocations: 3.562 kB / 5.639 GB, free: 92.27 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04985/16.45, allocations: 20.15 MB / 5.658 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005663/16.46, allocations: 1.709 MB / 5.66 GB, free: 91.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001523/16.46, allocations: 206.8 kB / 5.66 GB, free: 91.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006906/16.46, allocations: 0.5457 MB / 5.661 GB, free: 91.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001768/16.47, allocations: 465.5 kB / 5.661 GB, free: 91.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001005/16.47, allocations: 258.8 kB / 5.661 GB, free: 91.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002171/16.47, allocations: 1.16 MB / 5.663 GB, free: 91.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.29e-07/16.47, allocations: 0 / 5.663 GB, free: 91.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01737/16.49, allocations: 4.104 MB / 5.667 GB, free: 91.16 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.WaterInTSensor.y,Plant.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y) * Number of discrete variables: 22 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (529): * Single equations (assignments): 492 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * 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.01032/16.5, allocations: 2.859 MB / 5.669 GB, free: 90.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.05797/16.56, allocations: 19.31 MB / 5.688 GB, free: 90.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/16.56, allocations: 7.938 kB / 5.688 GB, free: 90.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.02064/16.58, allocations: 8.87 MB / 5.697 GB, free: 88.19 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01247/16.59, allocations: 1.898 MB / 5.699 GB, free: 88.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/16.63, allocations: 14.3 MB / 5.713 GB, free: 86.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005677/16.63, allocations: 3.553 MB / 5.716 GB, free: 85.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.01053/16.64, allocations: 1.851 MB / 5.718 GB, free: 85.41 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002703/16.64, allocations: 322.4 kB / 5.718 GB, free: 85.41 MB / 0.6511 GB Notification: Performance of SimCode: time 1.642e-06/16.64, allocations: 0 / 5.718 GB, free: 85.41 MB / 0.6511 GB Notification: Performance of Templates: time 0.9299/17.57, allocations: 304.4 MB / 6.016 GB, free: 45.86 MB / 0.6511 GB