Running command: translateModel(ThermoPower.Examples.CISE.Simulators.CISESim180503,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503") Notification: Performance of loadModel(ThermoPower): time 2.107/2.107, allocations: 254.6 MB / 267.7 MB, free: 12.37 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.99e-05, allocations: 0 / 330.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3081, allocations: 60.24 MB / 391 MB, free: 4.871 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.153/8.461, allocations: 3.374 GB / 3.756 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/8.461, allocations: 86.27 kB / 3.756 GB, free: 36.64 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.664/13.13, allocations: 1.003 GB / 4.76 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.824e-06/13.13, allocations: 0 / 4.76 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004559/13.13, allocations: 128.5 kB / 4.76 GB, free: 29.19 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.05608/13.18, allocations: 10.92 MB / 4.77 GB, free: 26.77 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/13.18, allocations: 10.25 kB / 4.77 GB, free: 26.77 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02371/13.21, allocations: 2.329 MB / 4.773 GB, free: 26.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02182/13.23, allocations: 5.408 MB / 4.778 GB, free: 25.63 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005948/13.23, allocations: 1.782 MB / 4.78 GB, free: 25.21 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004219/13.24, allocations: 0.5064 MB / 4.78 GB, free: 25.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06481/13.3, allocations: 19.07 MB / 4.799 GB, free: 18.75 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/13.3, allocations: 0 / 4.799 GB, free: 18.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004269/13.31, allocations: 196.5 kB / 4.799 GB, free: 18.61 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002429/13.31, allocations: 220.5 kB / 4.799 GB, free: 18.58 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07842/13.39, allocations: 26.29 MB / 4.825 GB, free: 0.6289 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.5494/13.94, allocations: 76.18 MB / 4.899 GB, free: 17.03 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0518/13.99, allocations: 15.25 MB / 4.914 GB, free: 16.93 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01987/14.01, allocations: 8.583 MB / 4.923 GB, free: 16.89 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2758/14.28, allocations: 121.9 MB / 5.042 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/14.28, allocations: 101 kB / 5.042 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=578): time 1.265e-05/14.28, allocations: 1.031 kB / 5.042 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=592): time 0.5721/14.86, allocations: 44.42 MB / 5.085 GB, free: 110.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/14.86, allocations: 295.4 kB / 5.085 GB, free: 110 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004127/14.86, allocations: 1.911 MB / 5.087 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.003987/14.86, allocations: 140.9 kB / 5.087 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001577/14.87, allocations: 1.636 MB / 5.089 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.005517/14.87, allocations: 2.041 MB / 5.091 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003722/14.87, allocations: 111.1 kB / 5.091 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0005423/14.88, allocations: 0.5185 MB / 5.092 GB, free: 107.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02191/14.9, allocations: 9.39 MB / 5.101 GB, free: 107.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.024/14.92, allocations: 10.31 MB / 5.111 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02059/14.94, allocations: 7.734 MB / 5.118 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.834e-05/14.94, allocations: 3.938 kB / 5.118 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.08041/15.02, allocations: 26.98 MB / 5.145 GB, free: 106.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001012/15.02, allocations: 5.142 MB / 5.15 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.654e-05/15.02, allocations: 11.83 kB / 5.15 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.622/15.65, allocations: 103.1 MB / 5.251 GB, free: 67.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04491/15.69, allocations: 6.499 MB / 5.257 GB, free: 62.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0625/15.75, allocations: 25.81 MB / 5.282 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02407/15.78, allocations: 3.175 MB / 5.285 GB, free: 37.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004629/15.78, allocations: 0.709 MB / 5.286 GB, free: 37.08 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/15.78, allocations: 7.969 kB / 5.286 GB, free: 37.08 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.587/16.37, allocations: 45.37 MB / 5.33 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.766e-05/16.37, allocations: 17 kB / 5.33 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1872/16.56, allocations: 55.3 MB / 5.384 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05712/16.61, allocations: 6.835 MB / 5.391 GB, free: 104.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05303/16.67, allocations: 24.1 MB / 5.414 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02617/16.69, allocations: 3.159 MB / 5.417 GB, free: 100.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004585/16.7, allocations: 0.7067 MB / 5.418 GB, free: 100.4 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.006365/16.7, allocations: 412.3 kB / 5.419 GB, free: 100.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003961/16.71, allocations: 426.5 kB / 5.419 GB, free: 100.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1183/16.83, allocations: 66.55 MB / 5.484 GB, free: 57.83 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5219/17.35, allocations: 65.38 MB / 5.548 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.664e-05/17.35, allocations: 10.19 kB / 5.548 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001688/17.35, allocations: 33.58 kB / 5.548 GB, free: 104.6 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.1778/17.53, allocations: 104.8 MB / 5.65 GB, free: 77.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.619e-05/17.53, allocations: 3.531 kB / 5.65 GB, free: 77.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02901/17.55, allocations: 4.104 MB / 5.654 GB, free: 77.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5958/18.15, allocations: 76.82 MB / 5.729 GB, free: 43.81 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003768/18.15, allocations: 432.1 kB / 5.73 GB, free: 43.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4712/18.63, allocations: 50.37 MB / 5.779 GB, free: 88.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.099e-06/18.63, allocations: 2.969 kB / 5.779 GB, free: 88.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1124/18.74, allocations: 43.07 MB / 5.821 GB, free: 87.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009622/18.75, allocations: 2.853 MB / 5.824 GB, free: 87.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004074/18.75, allocations: 155.9 kB / 5.824 GB, free: 87.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02399/18.78, allocations: 3.093 MB / 5.827 GB, free: 87.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004058/18.78, allocations: 0.7542 MB / 5.828 GB, free: 87.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003376/18.78, allocations: 439.1 kB / 5.828 GB, free: 87.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003146/18.79, allocations: 1.469 MB / 5.829 GB, free: 87.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.84e-07/18.79, allocations: 0 / 5.829 GB, free: 87.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02911/18.82, allocations: 5.373 MB / 5.835 GB, free: 87.03 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.01258/18.83, allocations: 2.697 MB / 5.837 GB, free: 86.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.08803/18.92, allocations: 34.63 MB / 5.871 GB, free: 81.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/18.92, allocations: 0.5625 kB / 5.871 GB, free: 81.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.03649/18.95, allocations: 14.41 MB / 5.885 GB, free: 73.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01482/18.97, allocations: 1.864 MB / 5.887 GB, free: 73.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05664/19.02, allocations: 21.77 MB / 5.908 GB, free: 65.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004955/19.03, allocations: 3.83 MB / 5.912 GB, free: 64.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.03181/19.06, allocations: 13.67 MB / 5.925 GB, free: 58.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009777/19.07, allocations: 0.8317 MB / 5.926 GB, free: 57.72 MB / 0.6355 GB Notification: Performance of SimCode: time 2.57e-06/19.07, allocations: 0 / 5.926 GB, free: 57.72 MB / 0.6355 GB Notification: Performance of Templates: time 1.554/20.63, allocations: 477.9 MB / 6.393 GB, free: 41.54 MB / 0.6511 GB