Running command: "" <> buildModelFMU(ThermoPower.Examples.CISE.Simulators.CISESim120501,fileNamePrefix="ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim120501",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.269/2.269, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.125e-05, allocations: 4 kB / 330.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3723, allocations: 60.23 MB / 391.1 MB, free: 4.855 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.431/9.804, allocations: 3.374 GB / 3.756 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/9.804, allocations: 83.64 kB / 3.756 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.319/15.12, allocations: 1.002 GB / 4.758 GB, free: 25.13 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.014e-06/15.12, allocations: 0 / 4.758 GB, free: 25.13 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0005274/15.12, allocations: 131.2 kB / 4.758 GB, free: 25.11 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.0736/15.2, allocations: 10.93 MB / 4.769 GB, free: 22.11 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/15.2, allocations: 9.25 kB / 4.769 GB, free: 22.11 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005674/15.2, allocations: 0.6901 MB / 4.769 GB, free: 21.71 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02511/15.23, allocations: 2.325 MB / 4.772 GB, free: 21.08 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02788/15.26, allocations: 5.415 MB / 4.777 GB, free: 18.63 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008193/15.26, allocations: 1.775 MB / 4.779 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006137/15.27, allocations: 0.5033 MB / 4.779 GB, free: 17.73 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07516/15.35, allocations: 19.07 MB / 4.798 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002064/15.35, allocations: 0 / 4.798 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005487/15.35, allocations: 198.1 kB / 4.798 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003028/15.35, allocations: 220.6 kB / 4.798 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1055/15.46, allocations: 26.86 MB / 4.825 GB, free: 3.742 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.6547/16.11, allocations: 76.18 MB / 4.899 GB, free: 6.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05912/16.17, allocations: 15.25 MB / 4.914 GB, free: 6.383 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02255/16.19, allocations: 8.58 MB / 4.922 GB, free: 6.352 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3847/16.58, allocations: 121.9 MB / 5.041 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/16.58, allocations: 94.67 kB / 5.041 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=578): time 9.248e-06/16.58, allocations: 6.406 kB / 5.041 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of matching and sorting (n=592): time 0.6807/17.26, allocations: 44.07 MB / 5.084 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/17.26, allocations: 296.7 kB / 5.085 GB, free: 121 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004113/17.26, allocations: 1.91 MB / 5.087 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.004808/17.27, allocations: 137.8 kB / 5.087 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001687/17.27, allocations: 1.637 MB / 5.088 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.006636/17.28, allocations: 2.05 MB / 5.09 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003774/17.28, allocations: 116 kB / 5.09 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0005364/17.28, allocations: 0.5172 MB / 5.091 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02564/17.31, allocations: 9.382 MB / 5.1 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0267/17.33, allocations: 10.31 MB / 5.11 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02272/17.36, allocations: 7.729 MB / 5.118 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.846e-05/17.36, allocations: 5.531 kB / 5.118 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.09402/17.45, allocations: 26.98 MB / 5.144 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.00112/17.45, allocations: 5.136 MB / 5.149 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.557e-05/17.45, allocations: 11.53 kB / 5.149 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024/18.48, allocations: 103.1 MB / 5.25 GB, free: 81.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07651/18.55, allocations: 6.492 MB / 5.256 GB, free: 76.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08084/18.63, allocations: 25.81 MB / 5.281 GB, free: 54.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0389/18.67, allocations: 3.176 MB / 5.284 GB, free: 51.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006057/18.68, allocations: 0.7177 MB / 5.285 GB, free: 51.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/18.68, allocations: 4 kB / 5.285 GB, free: 51.45 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7713/19.45, allocations: 45.41 MB / 5.329 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.354e-05/19.45, allocations: 17.11 kB / 5.329 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2554/19.71, allocations: 55.3 MB / 5.383 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08098/19.79, allocations: 6.831 MB / 5.39 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07008/19.86, allocations: 24.11 MB / 5.414 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03718/19.89, allocations: 3.158 MB / 5.417 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005935/19.9, allocations: 0.7072 MB / 5.417 GB, free: 112.5 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.009508/19.91, allocations: 409.6 kB / 5.418 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006165/19.92, allocations: 423.7 kB / 5.418 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1478/20.06, allocations: 66.55 MB / 5.483 GB, free: 72.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6599/20.72, allocations: 65.42 MB / 5.547 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.015e-05/20.72, allocations: 12.92 kB / 5.547 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002073/20.72, allocations: 40.77 kB / 5.547 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.2148/20.94, allocations: 104.8 MB / 5.65 GB, free: 91.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001045/20.94, allocations: 1.625 kB / 5.65 GB, free: 91.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04463/20.98, allocations: 4.111 MB / 5.654 GB, free: 91.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087/22.07, allocations: 76.8 MB / 5.729 GB, free: 58.27 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004917/22.08, allocations: 434.2 kB / 5.729 GB, free: 58.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6143/22.69, allocations: 50.41 MB / 5.778 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/22.69, allocations: 3.719 kB / 5.778 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1441/22.83, allocations: 43.06 MB / 5.82 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01244/22.85, allocations: 2.855 MB / 5.823 GB, free: 99.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006276/22.85, allocations: 153.9 kB / 5.823 GB, free: 99.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03583/22.89, allocations: 3.086 MB / 5.826 GB, free: 99.72 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005974/22.89, allocations: 0.7622 MB / 5.827 GB, free: 99.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005259/22.9, allocations: 435.2 kB / 5.827 GB, free: 99.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004105/22.9, allocations: 1.467 MB / 5.829 GB, free: 99.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.042e-06/22.9, allocations: 0 / 5.829 GB, free: 99.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.04223/22.95, allocations: 5.373 MB / 5.834 GB, free: 99.49 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.1494/23.1, allocations: 39.24 MB / 5.872 GB, free: 93.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.1096/23.21, allocations: 34.64 MB / 5.906 GB, free: 78.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/23.21, allocations: 4.531 kB / 5.906 GB, free: 78.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.04478/23.25, allocations: 14.4 MB / 5.92 GB, free: 70.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02093/23.27, allocations: 1.854 MB / 5.922 GB, free: 69.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09266/23.36, allocations: 23.66 MB / 5.945 GB, free: 49.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007857/23.37, allocations: 3.831 MB / 5.949 GB, free: 46.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.04325/23.42, allocations: 13.68 MB / 5.962 GB, free: 38.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01798/23.43, allocations: 3.078 MB / 5.965 GB, free: 36.26 MB / 0.6511 GB Notification: Performance of SimCode: time 3.386e-06/23.43, allocations: 0 / 5.965 GB, free: 36.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.635/26.07, allocations: 0.5239 GB / 6.489 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/26.07, allocations: 178.9 kB / 6.489 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.7/48.77, allocations: 0 / 6.489 GB, free: 134.4 MB / 0.6823 GB