Running command: "" <> buildModelFMU(OpenHPL.Examples.HPSimple_Francis,fileNamePrefix="OpenHPL_OpenHPL_Examples_HPSimple_Francis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.45/2.45, allocations: 257 MB / 269.1 MB, free: 11.78 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.232e-05/4.237e-05, allocations: 4 kB / 332.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4074, allocations: 59.98 MB / 392.1 MB, free: 4.609 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.5955, allocations: 103.2 MB / 495.3 MB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.5958, allocations: 87.89 kB / 495.4 MB, free: 13.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1072/0.7031, allocations: 20.8 MB / 0.5041 GB, free: 8.328 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7031, allocations: 0 / 0.5041 GB, free: 8.328 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.366e-05/0.7032, allocations: 20 kB / 0.5041 GB, free: 8.309 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00457/0.7078, allocations: 1.239 MB / 0.5053 GB, free: 7.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.7078, allocations: 20.02 kB / 0.5053 GB, free: 7 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003015/0.7081, allocations: 139.5 kB / 0.5055 GB, free: 6.855 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006769/0.7088, allocations: 126.7 kB / 0.5056 GB, free: 6.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.71, allocations: 0.4983 MB / 0.5061 GB, free: 6.191 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/0.7102, allocations: 129.4 kB / 0.5062 GB, free: 6.055 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.7105, allocations: 95.91 kB / 0.5063 GB, free: 5.961 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.7132, allocations: 0.9729 MB / 0.5072 GB, free: 4.965 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.7132, allocations: 3.938 kB / 0.5072 GB, free: 4.961 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.7134, allocations: 36 kB / 0.5073 GB, free: 4.926 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.7134, allocations: 20 kB / 0.5073 GB, free: 4.906 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/0.7163, allocations: 0.902 MB / 0.5082 GB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.7276, allocations: 3.22 MB / 0.5113 GB, free: 0.707 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/0.7312, allocations: 0.7936 MB / 0.5121 GB, free: 15.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.7324, allocations: 391.2 kB / 0.5125 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/0.7339, allocations: 0.863 MB / 0.5133 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/0.7339, allocations: 47.28 kB / 0.5133 GB, free: 14.42 MB / 458.7 MB Notification: Performance of pre-optimization done (n=97): time 4.228e-06/0.734, allocations: 0 / 0.5133 GB, free: 14.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=107): time 0.009166/0.7431, allocations: 2.466 MB / 0.5158 GB, free: 11.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.7432, allocations: 64.41 kB / 0.5158 GB, free: 11.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.7447, allocations: 0.6599 MB / 0.5165 GB, free: 11.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002321/0.745, allocations: 49.64 kB / 0.5165 GB, free: 11.08 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004618/0.7454, allocations: 474.9 kB / 0.517 GB, free: 10.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005145/0.746, allocations: 378.5 kB / 0.5173 GB, free: 10.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.7461, allocations: 28 kB / 0.5173 GB, free: 10.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002476/0.7464, allocations: 414.7 kB / 0.5177 GB, free: 9.793 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.7479, allocations: 448 kB / 0.5182 GB, free: 9.355 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.7495, allocations: 0.6146 MB / 0.5188 GB, free: 8.688 MB / 458.7 MB 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: penstock.Vdot = penstock.Vdot_0 (discharge.Vdot_0 = penstock.Vdot_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: intake.Vdot = intake.Vdot_0 (discharge.Vdot_0 + surgeTank.Vdot_0 = intake.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.04281/0.7923, allocations: 5.492 MB / 0.5241 GB, free: 3.129 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.7924, allocations: 0 / 0.5241 GB, free: 3.129 MB / 458.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.005496/0.7979, allocations: 1.56 MB / 0.5257 GB, free: 1.555 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.798, allocations: 8 kB / 0.5257 GB, free: 1.547 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.798, allocations: 8 kB / 0.5257 GB, free: 1.539 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001883/0.7999, allocations: 323.2 kB / 0.526 GB, free: 1.215 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00545/0.8054, allocations: 415.4 kB / 0.5264 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3504/1.156, allocations: 11.98 MB / 0.5381 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/1.158, allocations: 61.22 kB / 0.5381 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/1.158, allocations: 57.06 kB / 0.5382 GB, free: 111.9 MB / 458.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: surgeTank.Vdot = $START.surgeTank.Vdot surgeTank.h = $START.surgeTank.h penstock.Vdot = penstock.Vdot_0 intake.Vdot = intake.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 152 * 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: 2 * 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: 1 {(1,100.0%) 17} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000357/1.159, allocations: 184.2 kB / 0.5384 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/1.159, allocations: 91.31 kB / 0.5384 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00504/1.164, allocations: 1.359 MB / 0.5398 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/1.164, allocations: 15.8 kB / 0.5398 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.164, allocations: 0 / 0.5398 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/1.164, allocations: 3.844 kB / 0.5398 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007252/1.171, allocations: 2.387 MB / 0.5421 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.171, allocations: 3.906 kB / 0.5421 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003804/1.175, allocations: 386.1 kB / 0.5425 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002852/1.178, allocations: 398.5 kB / 0.5429 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/1.178, allocations: 29.41 kB / 0.5429 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/1.191, allocations: 14.46 MB / 0.557 GB, free: 97.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.191, allocations: 0 / 0.557 GB, free: 97.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006036/1.197, allocations: 1.947 MB / 0.5589 GB, free: 96.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/1.197, allocations: 185.8 kB / 0.5591 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/1.197, allocations: 26.05 kB / 0.5591 GB, free: 96.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/1.199, allocations: 38.11 kB / 0.5592 GB, free: 96.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/1.199, allocations: 113.8 kB / 0.5593 GB, free: 96.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.436e-05/1.199, allocations: 29.17 kB / 0.5593 GB, free: 96.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008811/1.2, allocations: 0.5017 MB / 0.5598 GB, free: 96.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.2, allocations: 0 / 0.5598 GB, free: 96.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002134/1.202, allocations: 467.3 kB / 0.5602 GB, free: 96.39 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (reservoir.m,tail.m,generator.DELTA,generator.EEd,generator.EEq,generator.Ef,generator.Vstabilizer,generator.w,penstock.Vdot,surgeTank.m,surgeTank.Vdot) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 86 * 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: 1 {(1,100.0%) 17} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006976/1.209, allocations: 3.167 MB / 0.5633 GB, free: 94.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006118/1.216, allocations: 1.588 MB / 0.5649 GB, free: 93.69 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.216, allocations: 0 / 0.5649 GB, free: 93.69 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003182/1.219, allocations: 1.112 MB / 0.566 GB, free: 93.04 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/1.22, allocations: 128.8 kB / 0.5661 GB, free: 92.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005803/1.226, allocations: 2.295 MB / 0.5683 GB, free: 91.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/1.226, allocations: 1.092 MB / 0.5694 GB, free: 91.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001317/1.228, allocations: 167.7 kB / 0.5696 GB, free: 91.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009391/1.229, allocations: 431.1 kB / 0.57 GB, free: 90.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.232e-06/1.229, allocations: 0 / 0.57 GB, free: 90.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/1.336, allocations: 26.39 MB / 0.5958 GB, free: 69.72 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/1.337, allocations: 159.3 kB / 0.5959 GB, free: 69.49 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.581/4.918, allocations: 0 / 0.5959 GB, free: 69.49 MB / 458.7 MB