Running command: translateModel(ThermoPower.Examples.CISE.Simulators.CISESim180504,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180504") Notification: Performance of loadModel(ThermoPower): time 2.086/2.086, allocations: 254.6 MB / 267.7 MB, free: 12.37 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/2.997e-05, allocations: 0 / 330.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3127, allocations: 60.23 MB / 391 MB, free: 4.883 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.782/8.095, allocations: 3.374 GB / 3.756 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/8.095, allocations: 85.98 kB / 3.756 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.68/12.78, allocations: 1.003 GB / 4.76 GB, free: 37.99 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.625e-06/12.78, allocations: 3.25 kB / 4.76 GB, free: 37.99 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0005271/12.78, allocations: 129.1 kB / 4.76 GB, free: 37.97 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1218 * Number of variables: 1218 Notification: Performance of Generate backend data structure: time 0.05804/12.83, allocations: 10.92 MB / 4.771 GB, free: 35.75 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/12.83, allocations: 12.56 kB / 4.771 GB, free: 35.75 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02658/12.86, allocations: 2.319 MB / 4.773 GB, free: 35.46 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02303/12.88, allocations: 5.419 MB / 4.778 GB, free: 34.79 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006516/12.89, allocations: 1.773 MB / 4.78 GB, free: 34.41 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005289/12.9, allocations: 0.5086 MB / 4.78 GB, free: 34.39 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06634/12.96, allocations: 19.07 MB / 4.799 GB, free: 33.81 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001663/12.96, allocations: 2.156 kB / 4.799 GB, free: 33.81 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004073/12.97, allocations: 195 kB / 4.799 GB, free: 33.81 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000247/12.97, allocations: 225.6 kB / 4.799 GB, free: 33.8 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0811/13.05, allocations: 26.29 MB / 4.825 GB, free: 33.78 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.1536/13.2, allocations: 76.19 MB / 4.899 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04783/13.25, allocations: 15.31 MB / 4.914 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01964/13.27, allocations: 8.574 MB / 4.923 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.663/13.93, allocations: 121.9 MB / 5.042 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/13.93, allocations: 103.3 kB / 5.042 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=578): time 1.317e-05/13.93, allocations: 0 / 5.042 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=592): time 0.1694/14.1, allocations: 43.93 MB / 5.085 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/14.1, allocations: 293 kB / 5.085 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004126/14.11, allocations: 1.91 MB / 5.087 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.003812/14.11, allocations: 140.7 kB / 5.087 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001573/14.11, allocations: 1.647 MB / 5.089 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.005418/14.12, allocations: 2.043 MB / 5.091 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003761/14.12, allocations: 110.8 kB / 5.091 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0006309/14.12, allocations: 0.5177 MB / 5.091 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02271/14.14, allocations: 9.385 MB / 5.1 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02373/14.17, allocations: 10.31 MB / 5.111 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0194/14.19, allocations: 7.732 MB / 5.118 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-05/14.19, allocations: 3.5 kB / 5.118 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.07834/14.27, allocations: 26.98 MB / 5.144 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.002627/14.27, allocations: 5.133 MB / 5.149 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.864e-05/14.27, allocations: 12 kB / 5.149 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04/15.31, allocations: 107.6 MB / 5.255 GB, free: 95.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.049/15.36, allocations: 6.496 MB / 5.261 GB, free: 95.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06424/15.42, allocations: 25.81 MB / 5.286 GB, free: 92.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02408/15.45, allocations: 3.174 MB / 5.289 GB, free: 92.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004377/15.45, allocations: 0.7169 MB / 5.29 GB, free: 92.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/15.45, allocations: 4.438 kB / 5.29 GB, free: 92.25 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1643/15.61, allocations: 44.64 MB / 5.333 GB, free: 76.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.129e-05/15.61, allocations: 12 kB / 5.333 GB, free: 76.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1625/15.78, allocations: 55.3 MB / 5.387 GB, free: 39.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04715/15.82, allocations: 6.832 MB / 5.394 GB, free: 34.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4508/16.28, allocations: 24.59 MB / 5.418 GB, free: 93.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02587/16.3, allocations: 3.165 MB / 5.421 GB, free: 93.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004259/16.31, allocations: 0.7067 MB / 5.422 GB, free: 93.54 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 28 (Plant.HeaderUpper.fluidState.phase,Plant.HeaderLower.fluidState.phase,Plant.Pipe2Valve.fluidState[2].phase,Plant.Pipe2Valve.fluidState[1].phase,Plant.SH.fluidState[5].phase,Plant.SH.fluidState[4].phase,Plant.SH.fluidState[3].phase,Plant.SH.fluidState[2].phase,Plant.SH.fluidState[1].phase,Plant.SH.heatTransfer.dew.phase,Plant.SH.heatTransfer.bubble.phase,Plant.Pipe2SH.fluidState[2].phase,Plant.Pipe2SH.fluidState[1].phase,Plant.Pipe2Drum.fluidState[2].phase,Plant.Pipe2Drum.fluidState[1].phase,Plant.Risers.fluidState[7].phase,Plant.Risers.fluidState[6].phase,Plant.Risers.fluidState[5].phase,Plant.Risers.fluidState[4].phase,Plant.Risers.fluidState[3].phase,Plant.Risers.fluidState[2].phase,Plant.Risers.fluidState[1].phase,Plant.Downcomer.fluidState[2].phase,Plant.Downcomer.fluidState[1].phase,Plant.PressDrop.state.phase,Plant.Valve.fluidState.phase,Plant.Drum.vapourState.phase,Plant.Drum.liquidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 3,1 5,5 69,2 13,16 181} Notification: Performance of prepare postOptimizeDAE: time 0.004432/16.31, allocations: 415 kB / 5.422 GB, free: 93.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002535/16.31, allocations: 422.2 kB / 5.423 GB, free: 93.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1225/16.43, allocations: 66.56 MB / 5.488 GB, free: 92.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1055/16.54, allocations: 62.81 MB / 5.549 GB, free: 71.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.779e-05/16.54, allocations: 14.47 kB / 5.549 GB, free: 71.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001498/16.54, allocations: 35.41 kB / 5.549 GB, free: 71.12 MB / 0.6355 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 postOpt removeSimpleEquations (simulation): time 0.5632/17.1, allocations: 104.9 MB / 5.652 GB, free: 94.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.427e-05/17.1, allocations: 0.5469 kB / 5.652 GB, free: 94.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02656/17.13, allocations: 4.114 MB / 5.656 GB, free: 94.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6082/17.74, allocations: 76.81 MB / 5.731 GB, free: 91.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003626/17.74, allocations: 435.2 kB / 5.731 GB, free: 91.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07353/17.82, allocations: 50.34 MB / 5.78 GB, free: 65.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.276e-06/17.82, allocations: 1.031 kB / 5.78 GB, free: 65.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09767/17.91, allocations: 43.06 MB / 5.822 GB, free: 45.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00924/17.92, allocations: 2.865 MB / 5.825 GB, free: 42.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003656/17.93, allocations: 146.2 kB / 5.825 GB, free: 42.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02082/17.95, allocations: 3.089 MB / 5.828 GB, free: 40.47 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003851/17.95, allocations: 0.7688 MB / 5.829 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002385/17.95, allocations: 433.2 kB / 5.829 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002814/17.96, allocations: 1.461 MB / 5.831 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.01e-06/17.96, allocations: 1.781 kB / 5.831 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02449/17.98, allocations: 5.38 MB / 5.836 GB, free: 33.44 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 41 (Plant.Drum.p,Plant.Drum.hl,Plant.Drum.hv,Plant.Drum.Tm,Plant.Drum.y,Plant.Downcomer.htilde[1],Plant.Risers.p,Plant.Risers.htilde[1],Plant.Risers.htilde[2],Plant.Risers.htilde[3],Plant.Risers.htilde[4],Plant.Risers.htilde[5],Plant.Risers.htilde[6],Plant.Pipe2Drum.htilde[1],Plant.Pipe2SH.p,Plant.Pipe2SH.htilde[1],Plant.SH.htilde[1],Plant.SH.htilde[2],Plant.SH.htilde[3],Plant.SH.htilde[4],Plant.Pipe2Valve.p,Plant.Pipe2Valve.htilde[1],Plant.HeaderLower.p,Plant.HeaderLower.h,Plant.HeaderLower.Tm,Plant.HeaderUpper.h,Plant.HeaderUpper.Tm,Plant.DowncomerWall.Tvol[1],Plant.RisersWalls.Tvol[1],Plant.RisersWalls.Tvol[2],Plant.RisersWalls.Tvol[3],Plant.RisersWalls.Tvol[4],Plant.RisersWalls.Tvol[5],Plant.RisersWalls.Tvol[6],Plant.Pipe2DrumWall.Tvol[1],Plant.Pipe2SHWall.Tvol[1],Plant.SHWall.Tvol[1],Plant.SHWall.Tvol[2],Plant.SHWall.Tvol[3],Plant.SHWall.Tvol[4],Plant.Pipe2ValveWall.Tvol[1]) * Number of discrete variables: 62 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse37.region3boundary,$cse38.region3boundary,$cse39.phase,$cse39.region,$cse40.phase,$cse40.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse43.phase,$cse43.region,$cse46.region3boundary,$cse47.region3boundary,$cse48.phase,$cse48.region,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (530): * Single equations (assignments): 462 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 43 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,77.8%) 6,(1,100.0%) 1,(9,58.0%) 18,(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,(6,72.2%) 11,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 5 {4 4,1 2,1 22,1 12,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00969/17.99, allocations: 2.7 MB / 5.839 GB, free: 31.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.4858/18.48, allocations: 37.31 MB / 5.875 GB, free: 91.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.747e-06/18.48, allocations: 1.125 kB / 5.875 GB, free: 91.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.03473/18.51, allocations: 14.4 MB / 5.889 GB, free: 89.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01289/18.52, allocations: 1.862 MB / 5.891 GB, free: 89.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0502/18.57, allocations: 21.77 MB / 5.912 GB, free: 87.01 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004355/18.58, allocations: 3.837 MB / 5.916 GB, free: 86.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.03024/18.61, allocations: 13.68 MB / 5.929 GB, free: 85.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008535/18.62, allocations: 0.8343 MB / 5.93 GB, free: 85.64 MB / 0.6355 GB Notification: Performance of SimCode: time 3.447e-06/18.62, allocations: 0 / 5.93 GB, free: 85.64 MB / 0.6355 GB Notification: Performance of Templates: time 1.951/20.57, allocations: 477.8 MB / 6.397 GB, free: 116.6 MB / 0.6668 GB