Running command: "" <> buildModelFMU(ThermoPower.Examples.CISE.Simulators.CISESim180504,fileNamePrefix="ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim180504",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.161/2.161, allocations: 254.6 MB / 267.7 MB, free: 12.44 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.885e-05, allocations: 4 kB / 330.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3742, allocations: 60.23 MB / 391.1 MB, free: 4.867 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.486/9.861, allocations: 3.374 GB / 3.756 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/9.861, allocations: 88.83 kB / 3.756 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.601/15.46, allocations: 1.003 GB / 4.76 GB, free: 24.88 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.923e-06/15.46, allocations: 3.938 kB / 4.76 GB, free: 24.88 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0006429/15.46, allocations: 127.7 kB / 4.76 GB, free: 24.86 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.08021/15.54, allocations: 10.93 MB / 4.771 GB, free: 21.84 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/15.54, allocations: 7.406 kB / 4.771 GB, free: 21.84 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006551/15.55, allocations: 0.6873 MB / 4.771 GB, free: 21.45 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02623/15.58, allocations: 2.327 MB / 4.774 GB, free: 20.81 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0303/15.61, allocations: 5.409 MB / 4.779 GB, free: 18.36 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008416/15.61, allocations: 1.778 MB / 4.781 GB, free: 17.63 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006464/15.62, allocations: 0.5031 MB / 4.781 GB, free: 17.46 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07777/15.7, allocations: 19.07 MB / 4.8 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000254/15.7, allocations: 7.938 kB / 4.8 GB, free: 8.305 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005984/15.71, allocations: 196.9 kB / 4.8 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003007/15.71, allocations: 222.3 kB / 4.8 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1091/15.81, allocations: 26.85 MB / 4.826 GB, free: 2.812 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.6958/16.51, allocations: 76.17 MB / 4.901 GB, free: 6.875 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06342/16.57, allocations: 15.25 MB / 4.916 GB, free: 6.758 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02447/16.6, allocations: 8.582 MB / 4.924 GB, free: 6.727 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4017/17, allocations: 121.9 MB / 5.043 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/17, allocations: 99.59 kB / 5.043 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=578): time 1.191e-05/17, allocations: 0 / 5.043 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of matching and sorting (n=592): time 0.7267/17.73, allocations: 44.26 MB / 5.086 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/17.73, allocations: 292.4 kB / 5.087 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005125/17.73, allocations: 1.913 MB / 5.089 GB, free: 121 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.005438/17.74, allocations: 140.6 kB / 5.089 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.002073/17.74, allocations: 1.639 MB / 5.09 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.00754/17.75, allocations: 2.046 MB / 5.092 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005517/17.75, allocations: 112.1 kB / 5.092 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0007075/17.75, allocations: 0.5143 MB / 5.093 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02815/17.78, allocations: 9.39 MB / 5.102 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02909/17.81, allocations: 10.31 MB / 5.112 GB, free: 118 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02659/17.84, allocations: 7.732 MB / 5.12 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.037e-05/17.84, allocations: 9.188 kB / 5.12 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.09996/17.94, allocations: 26.98 MB / 5.146 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.00114/17.94, allocations: 5.134 MB / 5.151 GB, free: 112 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.729e-05/17.94, allocations: 14.38 kB / 5.151 GB, free: 112 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9508/18.89, allocations: 103.1 MB / 5.252 GB, free: 81.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07874/18.97, allocations: 6.499 MB / 5.258 GB, free: 76.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07792/19.05, allocations: 25.82 MB / 5.283 GB, free: 54.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03866/19.09, allocations: 3.174 MB / 5.286 GB, free: 51.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005802/19.09, allocations: 0.7116 MB / 5.287 GB, free: 51.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/19.09, allocations: 4.781 kB / 5.287 GB, free: 51.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7647/19.86, allocations: 45.4 MB / 5.331 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.963e-05/19.86, allocations: 14.78 kB / 5.331 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2622/20.12, allocations: 55.29 MB / 5.385 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08236/20.2, allocations: 6.832 MB / 5.392 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0662/20.27, allocations: 24.1 MB / 5.416 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03727/20.31, allocations: 3.165 MB / 5.419 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00575/20.31, allocations: 0.705 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.01001/20.32, allocations: 409.7 kB / 5.42 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005981/20.33, allocations: 421.2 kB / 5.42 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1503/20.48, allocations: 66.55 MB / 5.485 GB, free: 72.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.684/21.16, allocations: 65.44 MB / 5.549 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.306e-05/21.16, allocations: 13.44 kB / 5.549 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002496/21.16, allocations: 35.62 kB / 5.549 GB, free: 117.4 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.2428/21.4, allocations: 104.8 MB / 5.652 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001146/21.4, allocations: 0 / 5.652 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04108/21.45, allocations: 4.118 MB / 5.656 GB, free: 91.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039/22.48, allocations: 76.81 MB / 5.731 GB, free: 58.37 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005077/22.49, allocations: 425.4 kB / 5.731 GB, free: 58.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5962/23.09, allocations: 50.38 MB / 5.78 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/23.09, allocations: 0 / 5.78 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.141/23.23, allocations: 43.06 MB / 5.822 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01216/23.24, allocations: 2.86 MB / 5.825 GB, free: 99.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006075/23.25, allocations: 150.9 kB / 5.825 GB, free: 99.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03476/23.28, allocations: 3.091 MB / 5.828 GB, free: 99.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005697/23.29, allocations: 0.7561 MB / 5.829 GB, free: 99.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004518/23.29, allocations: 433.2 kB / 5.829 GB, free: 99.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003397/23.29, allocations: 1.471 MB / 5.831 GB, free: 99.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.91e-07/23.29, allocations: 2.016 kB / 5.831 GB, free: 99.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.03743/23.33, allocations: 5.375 MB / 5.836 GB, free: 99.61 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.1442/23.48, allocations: 39.25 MB / 5.874 GB, free: 93.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.1088/23.58, allocations: 34.64 MB / 5.908 GB, free: 78.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/23.59, allocations: 5.625 kB / 5.908 GB, free: 78.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.04474/23.63, allocations: 14.4 MB / 5.922 GB, free: 70.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0205/23.65, allocations: 1.862 MB / 5.924 GB, free: 69.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08838/23.74, allocations: 23.65 MB / 5.947 GB, free: 49.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007833/23.75, allocations: 3.834 MB / 5.951 GB, free: 46.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.04051/23.79, allocations: 13.68 MB / 5.964 GB, free: 38.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01579/23.8, allocations: 3.078 MB / 5.967 GB, free: 36.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.744e-06/23.8, allocations: 1.031 kB / 5.967 GB, free: 36.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.62/26.42, allocations: 0.5238 GB / 6.491 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/26.42, allocations: 188.1 kB / 6.491 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.23/49.65, allocations: 0.7656 kB / 6.491 GB, free: 134.4 MB / 0.6823 GB