Running command: translateModel(ThermoPower.Examples.CISE.Simulators.CISESim120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim120501") Notification: Performance of loadModel(ThermoPower): time 2.168/2.168, allocations: 254.6 MB / 267.6 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.188e-05, allocations: 4 kB / 330.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3529, allocations: 60.24 MB / 391 MB, free: 4.883 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.014/8.367, allocations: 3.374 GB / 3.756 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/8.367, allocations: 83.77 kB / 3.756 GB, free: 36.81 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.513/12.88, allocations: 1.002 GB / 4.758 GB, free: 29.02 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.932e-06/12.88, allocations: 0 / 4.758 GB, free: 29.02 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.00047/12.88, allocations: 138.4 kB / 4.758 GB, free: 29 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: 1218 * Number of variables: 1218 Notification: Performance of Generate backend data structure: time 0.05145/12.93, allocations: 10.92 MB / 4.769 GB, free: 26.57 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/12.93, allocations: 12.72 kB / 4.769 GB, free: 26.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02296/12.96, allocations: 2.329 MB / 4.771 GB, free: 26.27 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02075/12.98, allocations: 5.407 MB / 4.776 GB, free: 25.44 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005871/12.98, allocations: 1.781 MB / 4.778 GB, free: 25.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004866/12.99, allocations: 0.5097 MB / 4.779 GB, free: 25 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06103/13.05, allocations: 19.07 MB / 4.797 GB, free: 18.83 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002201/13.05, allocations: 3.906 kB / 4.797 GB, free: 18.83 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004702/13.05, allocations: 195.5 kB / 4.797 GB, free: 18.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002454/13.05, allocations: 219.3 kB / 4.798 GB, free: 18.66 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.074/13.13, allocations: 26.29 MB / 4.823 GB, free: 1.594 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.5446/13.67, allocations: 76.59 MB / 4.898 GB, free: 18.39 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04605/13.72, allocations: 15.25 MB / 4.913 GB, free: 18.28 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01816/13.74, allocations: 8.585 MB / 4.921 GB, free: 18.25 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2572/13.99, allocations: 121.9 MB / 5.04 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/13.99, allocations: 106 kB / 5.04 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=578): time 1.249e-05/13.99, allocations: 0 / 5.04 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=592): time 0.591/14.58, allocations: 46.34 MB / 5.086 GB, free: 109.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/14.58, allocations: 294 kB / 5.086 GB, free: 109.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003694/14.59, allocations: 1.916 MB / 5.088 GB, free: 109.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.003506/14.59, allocations: 139.2 kB / 5.088 GB, free: 109.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/14.59, allocations: 1.637 MB / 5.09 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.005009/14.6, allocations: 2.043 MB / 5.092 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00339/14.6, allocations: 111.8 kB / 5.092 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0005089/14.6, allocations: 0.5137 MB / 5.092 GB, free: 107.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0208/14.62, allocations: 9.391 MB / 5.101 GB, free: 107.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02224/14.65, allocations: 10.31 MB / 5.111 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01904/14.66, allocations: 7.734 MB / 5.119 GB, free: 106.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.698e-05/14.66, allocations: 3.656 kB / 5.119 GB, free: 106.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.07755/14.74, allocations: 26.98 MB / 5.145 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001029/14.74, allocations: 5.139 MB / 5.15 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.939e-05/14.74, allocations: 11.41 kB / 5.15 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5275/15.27, allocations: 103.1 MB / 5.251 GB, free: 72.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0442/15.32, allocations: 6.494 MB / 5.257 GB, free: 68.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06373/15.38, allocations: 25.81 MB / 5.283 GB, free: 48.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02307/15.4, allocations: 3.173 MB / 5.286 GB, free: 45.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00448/15.41, allocations: 0.7121 MB / 5.286 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/15.41, allocations: 4 kB / 5.286 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5708/15.98, allocations: 46.08 MB / 5.331 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.942e-05/15.98, allocations: 15.72 kB / 5.331 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1634/16.14, allocations: 55.3 MB / 5.385 GB, free: 102.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04778/16.19, allocations: 6.835 MB / 5.392 GB, free: 102.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05168/16.24, allocations: 24.1 MB / 5.416 GB, free: 98.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02218/16.26, allocations: 3.165 MB / 5.419 GB, free: 98.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00454/16.27, allocations: 0.7003 MB / 5.419 GB, free: 98.48 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.004742/16.27, allocations: 415.1 kB / 5.42 GB, free: 98.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002625/16.27, allocations: 427.4 kB / 5.42 GB, free: 98.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.108/16.38, allocations: 66.55 MB / 5.485 GB, free: 67.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5084/16.89, allocations: 65.4 MB / 5.549 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.234e-05/16.89, allocations: 12.78 kB / 5.549 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001756/16.89, allocations: 38.27 kB / 5.549 GB, free: 104.1 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.1663/17.06, allocations: 104.8 MB / 5.651 GB, free: 81.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.852e-05/17.06, allocations: 0 / 5.651 GB, free: 81.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02691/17.08, allocations: 4.113 MB / 5.655 GB, free: 81.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5472/17.63, allocations: 76.82 MB / 5.73 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003823/17.64, allocations: 429.5 kB / 5.731 GB, free: 53.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4724/18.11, allocations: 50.34 MB / 5.78 GB, free: 95.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.969e-06/18.11, allocations: 1.75 kB / 5.78 GB, free: 95.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.105/18.21, allocations: 43.06 MB / 5.822 GB, free: 94.26 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009682/18.22, allocations: 2.858 MB / 5.825 GB, free: 93.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00422/18.23, allocations: 152.1 kB / 5.825 GB, free: 93.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02104/18.25, allocations: 3.095 MB / 5.828 GB, free: 93.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004095/18.25, allocations: 0.7613 MB / 5.829 GB, free: 93.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003322/18.26, allocations: 431.2 kB / 5.829 GB, free: 93.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002969/18.26, allocations: 1.466 MB / 5.831 GB, free: 93.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.003e-06/18.26, allocations: 0 / 5.831 GB, free: 93.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0288/18.29, allocations: 5.377 MB / 5.836 GB, free: 93.6 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.01254/18.3, allocations: 2.694 MB / 5.839 GB, free: 93.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.08355/18.38, allocations: 34.63 MB / 5.872 GB, free: 89.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/18.38, allocations: 5.594 kB / 5.872 GB, free: 89.01 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.03305/18.42, allocations: 14.4 MB / 5.886 GB, free: 81.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01276/18.43, allocations: 1.856 MB / 5.888 GB, free: 81.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05071/18.48, allocations: 21.77 MB / 5.909 GB, free: 73.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004183/18.48, allocations: 3.837 MB / 5.913 GB, free: 71.97 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.02891/18.51, allocations: 13.68 MB / 5.927 GB, free: 67.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008688/18.52, allocations: 0.834 MB / 5.927 GB, free: 67.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.694e-06/18.52, allocations: 0 / 5.927 GB, free: 67.34 MB / 0.6355 GB Notification: Performance of Templates: time 1.52/20.04, allocations: 477.8 MB / 6.394 GB, free: 51.2 MB / 0.6511 GB