Running command: "" <> buildModelFMU(OpenHPL.Examples.HPDetailed_Francis,fileNamePrefix="OpenHPL_OpenHPL_Examples_HPDetailed_Francis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.456/2.456, allocations: 257 MB / 269.1 MB, free: 11.76 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.72e-05, allocations: 4 kB / 332.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4195, allocations: 59.97 MB / 392.1 MB, free: 4.5 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.6134, allocations: 108 MB / 0.4884 GB, free: 8.305 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.6138, allocations: 83.95 kB / 0.4885 GB, free: 8.223 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.93/1.544, allocations: 110.2 MB / 0.5961 GB, free: 74.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.854e-06/1.544, allocations: 0 / 0.5961 GB, free: 74.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002167/1.544, allocations: 136 kB / 0.5962 GB, free: 74.12 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2345 * Number of variables: 2345 Notification: Performance of Generate backend data structure: time 0.03828/1.582, allocations: 6.873 MB / 0.6029 GB, free: 67.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/1.583, allocations: 8.031 kB / 0.6029 GB, free: 67.17 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006174/1.589, allocations: 1.182 MB / 0.6041 GB, free: 65.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005515/1.594, allocations: 0.7135 MB / 0.6048 GB, free: 65.26 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01283/1.607, allocations: 3.651 MB / 0.6083 GB, free: 61.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008636/1.608, allocations: 0.5422 MB / 0.6088 GB, free: 61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004975/1.613, allocations: 0.66 MB / 0.6095 GB, free: 60.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04641/1.659, allocations: 14.32 MB / 0.6235 GB, free: 45.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004491/1.66, allocations: 23.77 kB / 0.6235 GB, free: 45.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004339/1.664, allocations: 272 kB / 0.6238 GB, free: 45.67 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001187/1.666, allocations: 0.9976 MB / 0.6247 GB, free: 44.67 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04676/1.712, allocations: 15.26 MB / 0.6396 GB, free: 29.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1263/1.839, allocations: 37.2 MB / 0.676 GB, free: 7.969 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03719/1.876, allocations: 13.3 MB / 0.6889 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01635/1.892, allocations: 5.425 MB / 0.6942 GB, free: 5.062 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002562/1.895, allocations: 0.9775 MB / 0.6952 GB, free: 3.898 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/1.895, allocations: 116.6 kB / 0.6953 GB, free: 3.773 MB / 490.7 MB Notification: Performance of pre-optimization done (n=773): time 1.111e-05/1.895, allocations: 0 / 0.6953 GB, free: 3.773 MB / 490.7 MB Notification: Performance of matching and sorting (n=797): time 0.7906/2.686, allocations: 26.11 MB / 0.7208 GB, free: 121.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/2.686, allocations: 137.9 kB / 0.7209 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/2.688, allocations: 1.021 MB / 0.7219 GB, free: 121.3 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002227/2.69, allocations: 156.7 kB / 0.7221 GB, free: 121.2 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001655/2.692, allocations: 2.384 MB / 0.7244 GB, free: 120.8 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.004926/2.697, allocations: 2.704 MB / 0.7271 GB, free: 119.1 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001928/2.699, allocations: 144.8 kB / 0.7272 GB, free: 119.1 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0007914/2.7, allocations: 0.6688 MB / 0.7278 GB, free: 118.7 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01364/2.714, allocations: 5.021 MB / 0.7328 GB, free: 118.7 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01488/2.729, allocations: 5.75 MB / 0.7384 GB, free: 118.2 MB / 0.4949 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.Vdot = $START.surgeTank.Vdot (surgeTank.Vdot_0 = $START.surgeTank.Vdot) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: surgeTank.h = $START.surgeTank.h (surgeTank.h_0 = $START.surgeTank.h) Notification: Performance of analyzeInitialSystem (initialization): time 0.3259/3.054, allocations: 45.83 MB / 0.7831 GB, free: 105.2 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.763e-05/3.054, allocations: 7.953 kB / 0.7831 GB, free: 105.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.05523/3.11, allocations: 13.98 MB / 0.7968 GB, free: 93.1 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/3.11, allocations: 13.09 kB / 0.7968 GB, free: 93.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.286e-05/3.11, allocations: 12 kB / 0.7968 GB, free: 93.08 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/3.122, allocations: 1.811 MB / 0.7986 GB, free: 91.74 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02079/3.143, allocations: 1.785 MB / 0.8003 GB, free: 90.39 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04251/3.185, allocations: 24.09 MB / 0.8238 GB, free: 66.72 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01128/3.197, allocations: 385.4 kB / 0.8242 GB, free: 66.34 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002815/3.199, allocations: 291.8 kB / 0.8245 GB, free: 66.06 MB / 0.4949 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: surgeTank.Vdot = $START.surgeTank.Vdot surgeTank.h = $START.surgeTank.h. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 4 (penstockKP.KP.boundaryCon[2,2],penstockKP.KP.boundaryCon[2,1],penstockKP.KP.boundaryCon[1,2],penstockKP.KP.boundaryCon[1,1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (884): * Single equations (assignments): 874 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {2,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 28,1 7,1 22,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.004755/3.204, allocations: 0.4921 MB / 0.825 GB, free: 65.56 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002741/3.207, allocations: 343.8 kB / 0.8253 GB, free: 65.22 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05844/3.265, allocations: 14.87 MB / 0.8398 GB, free: 50.3 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.482e-05/3.266, allocations: 84 kB / 0.8399 GB, free: 50.22 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/3.266, allocations: 0 / 0.8399 GB, free: 50.22 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002402/3.266, allocations: 43.83 kB / 0.8399 GB, free: 50.18 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09144/3.357, allocations: 26.76 MB / 0.8661 GB, free: 23.44 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001259/3.357, allocations: 8 kB / 0.8661 GB, free: 23.43 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02001/3.377, allocations: 1.787 MB / 0.8678 GB, free: 21.64 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01094/3.388, allocations: 1.613 MB / 0.8694 GB, free: 20.03 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002677/3.391, allocations: 223.8 kB / 0.8696 GB, free: 19.81 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03463/3.426, allocations: 21.89 MB / 0.891 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/3.426, allocations: 11.94 kB / 0.891 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07676/3.503, allocations: 22.64 MB / 0.9131 GB, free: 5.547 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/3.504, allocations: 444.3 kB / 0.9135 GB, free: 5.09 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002959/3.507, allocations: 164 kB / 0.9137 GB, free: 4.93 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009753/3.517, allocations: 372.1 kB / 0.9141 GB, free: 4.566 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003333/3.52, allocations: 0.5836 MB / 0.9146 GB, free: 3.98 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002386/3.522, allocations: 267.8 kB / 0.9149 GB, free: 3.719 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.001899/3.524, allocations: 0.7501 MB / 0.9156 GB, free: 2.957 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8.21e-07/3.524, allocations: 0 / 0.9156 GB, free: 2.957 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01166/3.536, allocations: 2.031 MB / 0.9176 GB, free: 0.9453 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 30 (reservoir.m,tail.m,generator.DELTA,generator.EEd,generator.EEq,generator.Ef,generator.Vstabilizer,generator.w,surgeTank.m,surgeTank.Vdot,penstockKP.U[1],penstockKP.U[2],penstockKP.U[3],penstockKP.U[4],penstockKP.U[5],penstockKP.U[6],penstockKP.U[7],penstockKP.U[8],penstockKP.U[9],penstockKP.U[10],penstockKP.U[11],penstockKP.U[12],penstockKP.U[13],penstockKP.U[14],penstockKP.U[15],penstockKP.U[16],penstockKP.U[17],penstockKP.U[18],penstockKP.U[19],penstockKP.U[20]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (838): * Single equations (assignments): 828 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {2,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 30,1 24,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.4321/3.968, allocations: 26.01 MB / 0.943 GB, free: 142.1 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03749/4.006, allocations: 12.86 MB / 0.9555 GB, free: 139.1 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/4.006, allocations: 3.75 kB / 0.9556 GB, free: 139.1 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.02052/4.026, allocations: 7.102 MB / 0.9625 GB, free: 136.7 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004915/4.031, allocations: 380 kB / 0.9628 GB, free: 136.5 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05775/4.089, allocations: 18.61 MB / 0.981 GB, free: 126.6 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009234/4.098, allocations: 4.558 MB / 0.9855 GB, free: 123.1 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.02024/4.119, allocations: 3.792 MB / 0.9892 GB, free: 120.5 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01131/4.13, allocations: 3.186 MB / 0.9923 GB, free: 117.6 MB / 0.5262 GB Notification: Performance of SimCode: time 1.443e-06/4.13, allocations: 0 / 0.9923 GB, free: 117.6 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6728/4.803, allocations: 136.3 MB / 1.125 GB, free: 125.5 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/4.803, allocations: 159.3 kB / 1.126 GB, free: 125.3 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/13.01, allocations: 0 / 1.126 GB, free: 125.3 MB / 0.5262 GB