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.648/2.648, allocations: 256.4 MB / 268.5 MB, free: 12.26 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.217e-05/4.24e-05, allocations: 8 kB / 331.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4174, allocations: 59.81 MB / 391.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.6062, allocations: 103 MB / 494.1 MB, free: 14.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.6066, allocations: 83.94 kB / 494.2 MB, free: 14.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1087/0.7153, allocations: 20.96 MB / 0.5031 GB, free: 9.207 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7154, allocations: 0 / 0.5031 GB, free: 9.207 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.914e-05/0.7155, allocations: 20 kB / 0.5031 GB, free: 9.188 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.004906/0.7204, allocations: 1.251 MB / 0.5043 GB, free: 7.887 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.7205, allocations: 8.031 kB / 0.5043 GB, free: 7.879 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003943/0.7209, allocations: 135.5 kB / 0.5045 GB, free: 7.738 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007259/0.7216, allocations: 130.7 kB / 0.5046 GB, free: 7.609 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.7229, allocations: 0.4905 MB / 0.5051 GB, free: 7.078 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.7231, allocations: 103.7 kB / 0.5052 GB, free: 6.973 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/0.7234, allocations: 99.91 kB / 0.5053 GB, free: 6.875 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/0.7261, allocations: 0.9728 MB / 0.5062 GB, free: 5.875 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.7262, allocations: 0 / 0.5062 GB, free: 5.875 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.7264, allocations: 36 kB / 0.5062 GB, free: 5.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.7264, allocations: 20 kB / 0.5063 GB, free: 5.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002975/0.7294, allocations: 0.9136 MB / 0.5071 GB, free: 4.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.7405, allocations: 3.188 MB / 0.5103 GB, free: 1.645 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.7439, allocations: 0.7799 MB / 0.511 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.745, allocations: 383.2 kB / 0.5114 GB, free: 488 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.7553, allocations: 9.314 MB / 0.5205 GB, free: 5.074 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.7554, allocations: 39.34 kB / 0.5205 GB, free: 5.027 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 3.977e-06/0.7554, allocations: 0 / 0.5205 GB, free: 5.027 MB / 458.7 MB Notification: Performance of matching and sorting (n=106): time 0.009157/0.7645, allocations: 2.417 MB / 0.5229 GB, free: 2.547 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.7647, allocations: 68.39 kB / 0.5229 GB, free: 2.469 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.7662, allocations: 0.66 MB / 0.5236 GB, free: 1.801 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000214/0.7664, allocations: 41.7 kB / 0.5236 GB, free: 1.754 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.7669, allocations: 478.9 kB / 0.5241 GB, free: 1.277 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004679/0.7674, allocations: 386.5 kB / 0.5245 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.7675, allocations: 24 kB / 0.5245 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000242/0.7678, allocations: 410.7 kB / 0.5249 GB, free: 472 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.7693, allocations: 440 kB / 0.5253 GB, free: 32 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3525/1.122, allocations: 0.6105 MB / 0.5259 GB, free: 124 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.0418/1.164, allocations: 5.46 MB / 0.5312 GB, free: 123.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/1.164, allocations: 5.797 kB / 0.5312 GB, free: 123.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004804/1.168, allocations: 1.536 MB / 0.5327 GB, free: 123.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/1.169, allocations: 7.781 kB / 0.5327 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/1.169, allocations: 3.844 kB / 0.5327 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/1.17, allocations: 295.3 kB / 0.533 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005322/1.176, allocations: 432.5 kB / 0.5334 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/1.187, allocations: 10.65 MB / 0.5438 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/1.19, allocations: 56.52 kB / 0.5439 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/1.19, allocations: 50.77 kB / 0.5439 GB, free: 114.1 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 (161): * Single equations (assignments): 154 * 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: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003668/1.19, allocations: 190.2 kB / 0.5441 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/1.19, allocations: 94.44 kB / 0.5442 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005117/1.196, allocations: 1.32 MB / 0.5455 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/1.196, allocations: 14.69 kB / 0.5455 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.196, allocations: 0 / 0.5455 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.345e-05/1.196, allocations: 6.516 kB / 0.5455 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007865/1.204, allocations: 2.338 MB / 0.5478 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.204, allocations: 3.812 kB / 0.5478 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004128/1.208, allocations: 387.7 kB / 0.5482 GB, free: 112.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002811/1.211, allocations: 377 kB / 0.5485 GB, free: 112.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002561/1.211, allocations: 27.03 kB / 0.5486 GB, free: 112.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/1.223, allocations: 13.14 MB / 0.5614 GB, free: 99.71 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.223, allocations: 9.391 kB / 0.5614 GB, free: 99.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006244/1.229, allocations: 1.899 MB / 0.5632 GB, free: 98.76 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/1.23, allocations: 178.5 kB / 0.5634 GB, free: 98.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/1.23, allocations: 26.92 kB / 0.5634 GB, free: 98.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.231, allocations: 48.02 kB / 0.5635 GB, free: 98.56 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/1.232, allocations: 95.72 kB / 0.5636 GB, free: 98.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.653e-05/1.232, allocations: 31.33 kB / 0.5636 GB, free: 98.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009461/1.233, allocations: 0.5017 MB / 0.5641 GB, free: 98.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.233, allocations: 0 / 0.5641 GB, free: 98.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002035/1.235, allocations: 459.3 kB / 0.5645 GB, free: 97.6 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): 87 * 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: 2 * 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: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007151/1.242, allocations: 3.122 MB / 0.5676 GB, free: 94.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00648/1.249, allocations: 1.511 MB / 0.5691 GB, free: 93.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.249, allocations: 0 / 0.5691 GB, free: 93.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003382/1.252, allocations: 1.017 MB / 0.5701 GB, free: 92.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/1.253, allocations: 134 kB / 0.5702 GB, free: 92.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006297/1.26, allocations: 2.26 MB / 0.5724 GB, free: 90.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/1.26, allocations: 1.093 MB / 0.5735 GB, free: 89.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001382/1.262, allocations: 169.7 kB / 0.5736 GB, free: 89.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009716/1.263, allocations: 429.2 kB / 0.574 GB, free: 88.64 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/1.263, allocations: 0 / 0.574 GB, free: 88.64 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07149/1.334, allocations: 25.7 MB / 0.5991 GB, free: 65.86 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002973/1.335, allocations: 160.8 kB / 0.5993 GB, free: 65.63 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.699/5.033, allocations: 0 / 0.5993 GB, free: 65.63 MB / 458.7 MB