Running command: "" <> buildModelFMU(ThermoPower.Examples.CISE.Simulators.CISESim180503,fileNamePrefix="ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim180503",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.195/2.195, allocations: 254.6 MB / 267.6 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.148e-05, allocations: 4 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3763, allocations: 60.23 MB / 391.1 MB, free: 4.867 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.587/9.963, allocations: 3.374 GB / 3.756 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/9.964, allocations: 87.81 kB / 3.756 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.739/15.7, allocations: 1.003 GB / 4.76 GB, free: 25.64 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.174e-06/15.7, allocations: 3.938 kB / 4.76 GB, free: 25.63 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0005392/15.7, allocations: 129.1 kB / 4.76 GB, free: 25.61 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.07526/15.78, allocations: 10.93 MB / 4.771 GB, free: 22.68 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/15.78, allocations: 7.438 kB / 4.771 GB, free: 22.68 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00657/15.79, allocations: 0.6887 MB / 4.771 GB, free: 22.28 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02613/15.81, allocations: 2.335 MB / 4.774 GB, free: 21.64 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02842/15.84, allocations: 5.401 MB / 4.779 GB, free: 19.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008674/15.85, allocations: 1.78 MB / 4.781 GB, free: 18.46 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006923/15.86, allocations: 0.5034 MB / 4.781 GB, free: 18.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08106/15.94, allocations: 19.07 MB / 4.8 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002701/15.94, allocations: 0 / 4.8 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00629/15.94, allocations: 202.6 kB / 4.8 GB, free: 9.836 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003218/15.94, allocations: 213.4 kB / 4.8 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1141/16.06, allocations: 26.98 MB / 4.826 GB, free: 5.082 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.7011/16.76, allocations: 76.17 MB / 4.901 GB, free: 6.332 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06185/16.82, allocations: 15.25 MB / 4.916 GB, free: 6.215 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02367/16.84, allocations: 8.589 MB / 4.924 GB, free: 6.18 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4051/17.25, allocations: 121.9 MB / 5.043 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/17.25, allocations: 97.8 kB / 5.043 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=578): time 9.348e-06/17.25, allocations: 0 / 5.043 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of matching and sorting (n=592): time 0.7232/17.97, allocations: 43.94 MB / 5.086 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/17.97, allocations: 294.7 kB / 5.086 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004576/17.98, allocations: 1.911 MB / 5.088 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.005106/17.98, allocations: 139.4 kB / 5.088 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001891/17.99, allocations: 1.641 MB / 5.09 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.007026/17.99, allocations: 2.044 MB / 5.092 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005097/18, allocations: 110.5 kB / 5.092 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0006476/18, allocations: 0.5204 MB / 5.093 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02675/18.03, allocations: 9.385 MB / 5.102 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02808/18.05, allocations: 10.31 MB / 5.112 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02368/18.08, allocations: 7.724 MB / 5.119 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.555e-05/18.08, allocations: 5.031 kB / 5.119 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.0991/18.18, allocations: 26.98 MB / 5.146 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001154/18.18, allocations: 5.137 MB / 5.151 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.409e-05/18.18, allocations: 11.06 kB / 5.151 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9603/19.14, allocations: 103.1 MB / 5.251 GB, free: 81.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07815/19.22, allocations: 6.498 MB / 5.258 GB, free: 77.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08146/19.3, allocations: 25.81 MB / 5.283 GB, free: 54.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03861/19.34, allocations: 3.178 MB / 5.286 GB, free: 52.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006174/19.34, allocations: 0.7134 MB / 5.287 GB, free: 51.79 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/19.34, allocations: 4 kB / 5.287 GB, free: 51.79 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7774/20.12, allocations: 45.33 MB / 5.331 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.768e-05/20.12, allocations: 13.66 kB / 5.331 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2605/20.38, allocations: 55.3 MB / 5.385 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08188/20.46, allocations: 6.831 MB / 5.392 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06817/20.53, allocations: 24.09 MB / 5.415 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03836/20.57, allocations: 3.162 MB / 5.418 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006392/20.58, allocations: 0.701 MB / 5.419 GB, free: 112.6 MB / 0.6511 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.01111/20.59, allocations: 420.1 kB / 5.419 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006935/20.59, allocations: 426.1 kB / 5.42 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1573/20.75, allocations: 66.55 MB / 5.485 GB, free: 72.24 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6904/21.44, allocations: 65.42 MB / 5.549 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001572/21.44, allocations: 14.41 kB / 5.549 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000274/21.44, allocations: 37.33 kB / 5.549 GB, free: 117.3 MB / 0.6511 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.2163/21.66, allocations: 104.8 MB / 5.651 GB, free: 91.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001076/21.66, allocations: 0 / 5.651 GB, free: 91.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04067/21.7, allocations: 4.114 MB / 5.655 GB, free: 91.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082/22.78, allocations: 76.82 MB / 5.73 GB, free: 58.27 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005824/22.79, allocations: 427.4 kB / 5.731 GB, free: 58.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.609/23.4, allocations: 50.39 MB / 5.78 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/23.4, allocations: 1.469 kB / 5.78 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1415/23.54, allocations: 43.06 MB / 5.822 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0124/23.55, allocations: 2.859 MB / 5.825 GB, free: 99.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006088/23.56, allocations: 151.3 kB / 5.825 GB, free: 99.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03554/23.59, allocations: 3.096 MB / 5.828 GB, free: 99.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005862/23.6, allocations: 0.7595 MB / 5.829 GB, free: 99.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005024/23.6, allocations: 429.2 kB / 5.829 GB, free: 99.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003855/23.61, allocations: 1.472 MB / 5.83 GB, free: 99.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.72e-07/23.61, allocations: 0 / 5.83 GB, free: 99.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.04052/23.65, allocations: 5.376 MB / 5.836 GB, free: 99.53 MB / 0.6511 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.1504/23.8, allocations: 39.25 MB / 5.874 GB, free: 93.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.1082/23.91, allocations: 34.64 MB / 5.908 GB, free: 78.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/23.91, allocations: 6.094 kB / 5.908 GB, free: 78.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.04483/23.95, allocations: 14.4 MB / 5.922 GB, free: 70.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02022/23.97, allocations: 1.852 MB / 5.924 GB, free: 69.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08716/24.06, allocations: 23.67 MB / 5.947 GB, free: 49.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00662/24.07, allocations: 3.834 MB / 5.951 GB, free: 46.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.04163/24.11, allocations: 13.67 MB / 5.964 GB, free: 38.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01748/24.12, allocations: 3.081 MB / 5.967 GB, free: 36.24 MB / 0.6511 GB Notification: Performance of SimCode: time 2.104e-06/24.12, allocations: 0 / 5.967 GB, free: 36.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.662/26.79, allocations: 0.5238 GB / 6.491 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/26.79, allocations: 178.9 kB / 6.491 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.75/49.53, allocations: 4 kB / 6.491 GB, free: 134.6 MB / 0.6823 GB