Running command: translateModel(OpenHPL.Examples.HPSimple_Francis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.HPSimple_Francis") Notification: Performance of loadModel(OpenHPL): time 2.323/2.323, allocations: 256.4 MB / 268.5 MB, free: 12.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.338e-05, allocations: 4 kB / 331.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3237, allocations: 59.8 MB / 391 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.4787, allocations: 103 MB / 494 MB, free: 14.33 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.479, allocations: 83.89 kB / 494.1 MB, free: 14.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1008/0.5799, allocations: 20.96 MB / 0.503 GB, free: 9.234 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.82e-06/0.5799, allocations: 0 / 0.503 GB, free: 9.234 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.893e-05/0.58, allocations: 20 kB / 0.503 GB, free: 9.215 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.003937/0.584, allocations: 1.239 MB / 0.5042 GB, free: 7.926 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.584, allocations: 16.03 kB / 0.5042 GB, free: 7.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008402/0.5849, allocations: 126.7 kB / 0.5044 GB, free: 7.785 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.5862, allocations: 0.4905 MB / 0.5048 GB, free: 7.254 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.5864, allocations: 99.7 kB / 0.5049 GB, free: 7.152 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/0.5867, allocations: 95.91 kB / 0.505 GB, free: 7.059 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.5893, allocations: 0.9767 MB / 0.506 GB, free: 6.055 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/0.5893, allocations: 4 kB / 0.506 GB, free: 6.051 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.5895, allocations: 36 kB / 0.506 GB, free: 6.016 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.5895, allocations: 20 kB / 0.506 GB, free: 5.996 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.5921, allocations: 0.8981 MB / 0.5069 GB, free: 5.102 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.6051, allocations: 3.196 MB / 0.51 GB, free: 1.824 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/0.6094, allocations: 0.7752 MB / 0.5108 GB, free: 1.039 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.611, allocations: 383.2 kB / 0.5112 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/0.6239, allocations: 9.314 MB / 0.5202 GB, free: 5.258 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.435e-05/0.624, allocations: 43.34 kB / 0.5203 GB, free: 5.207 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 6.507e-06/0.6241, allocations: 4 kB / 0.5203 GB, free: 5.203 MB / 458.7 MB Notification: Performance of matching and sorting (n=106): time 0.0118/0.6359, allocations: 2.421 MB / 0.5227 GB, free: 2.719 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.636, allocations: 60.41 kB / 0.5227 GB, free: 2.648 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.6381, allocations: 0.6599 MB / 0.5234 GB, free: 1.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002511/0.6384, allocations: 45.7 kB / 0.5234 GB, free: 1.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006216/0.639, allocations: 482.3 kB / 0.5239 GB, free: 1.453 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000659/0.6397, allocations: 378.5 kB / 0.5242 GB, free: 1.078 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.6399, allocations: 32 kB / 0.5243 GB, free: 1.047 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003605/0.6403, allocations: 406.7 kB / 0.5246 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/0.6423, allocations: 444 kB / 0.5251 GB, free: 212 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2857/0.928, allocations: 0.6093 MB / 0.5257 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.0313/0.9594, allocations: 5.462 MB / 0.531 GB, free: 123.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/0.9594, allocations: 1.969 kB / 0.531 GB, free: 123.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004498/0.9639, allocations: 1.535 MB / 0.5325 GB, free: 123.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.964, allocations: 6 kB / 0.5325 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.964, allocations: 7.875 kB / 0.5325 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.9654, allocations: 304.4 kB / 0.5328 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004012/0.9694, allocations: 426.2 kB / 0.5332 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00979/0.9792, allocations: 10.65 MB / 0.5436 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.9812, allocations: 55.59 kB / 0.5437 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.9815, allocations: 55.75 kB / 0.5437 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.0003509/0.9819, allocations: 192.3 kB / 0.5439 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.9821, allocations: 95.62 kB / 0.544 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004244/0.9864, allocations: 1.316 MB / 0.5453 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.9864, allocations: 13.94 kB / 0.5453 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.9865, allocations: 2.875 kB / 0.5453 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/0.9865, allocations: 7.688 kB / 0.5453 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006801/0.9933, allocations: 2.339 MB / 0.5476 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.9934, allocations: 0 / 0.5476 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002993/0.9964, allocations: 392.9 kB / 0.5479 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/0.9986, allocations: 366.8 kB / 0.5483 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/0.9989, allocations: 26.22 kB / 0.5483 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/1.01, allocations: 13.15 MB / 0.5612 GB, free: 99.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.568e-06/1.01, allocations: 14.47 kB / 0.5612 GB, free: 99.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005204/1.015, allocations: 1.889 MB / 0.563 GB, free: 98.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/1.015, allocations: 191.8 kB / 0.5632 GB, free: 98.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/1.016, allocations: 27.2 kB / 0.5632 GB, free: 98.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.017, allocations: 44.39 kB / 0.5633 GB, free: 98.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/1.017, allocations: 99.59 kB / 0.5634 GB, free: 98.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.163e-05/1.017, allocations: 29.12 kB / 0.5634 GB, free: 98.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008664/1.018, allocations: 0.502 MB / 0.5639 GB, free: 98.23 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.035e-06/1.018, allocations: 4 kB / 0.5639 GB, free: 98.22 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00196/1.02, allocations: 458.2 kB / 0.5643 GB, free: 97.82 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.0008206/1.021, allocations: 290.9 kB / 0.5646 GB, free: 97.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004838/1.026, allocations: 1.506 MB / 0.5661 GB, free: 96.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.41e-06/1.026, allocations: 0 / 0.5661 GB, free: 96.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002859/1.028, allocations: 1.022 MB / 0.5671 GB, free: 95.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/1.03, allocations: 130.2 kB / 0.5672 GB, free: 95.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/1.034, allocations: 2.012 MB / 0.5692 GB, free: 93.26 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/1.035, allocations: 1.088 MB / 0.5702 GB, free: 92.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001286/1.036, allocations: 167.1 kB / 0.5704 GB, free: 92.19 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/1.037, allocations: 109.2 kB / 0.5705 GB, free: 92.09 MB / 458.7 MB Notification: Performance of SimCode: time 1.418e-06/1.037, allocations: 0 / 0.5705 GB, free: 92.09 MB / 458.7 MB Notification: Performance of Templates: time 0.03658/1.073, allocations: 16.22 MB / 0.5863 GB, free: 78.95 MB / 458.7 MB