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.256/2.256, allocations: 257 MB / 269.1 MB, free: 11.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.674e-05/3.684e-05, allocations: 8 kB / 332 MB, free: 12.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.365, allocations: 59.97 MB / 392 MB, free: 4.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.5197, allocations: 103.2 MB / 495.2 MB, free: 13.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.52, allocations: 79.97 kB / 495.3 MB, free: 13.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09694/0.617, allocations: 20.82 MB / 0.504 GB, free: 8.305 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.492e-06/0.617, allocations: 0 / 0.504 GB, free: 8.305 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.281e-05/0.6171, allocations: 20 kB / 0.504 GB, free: 8.285 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.003605/0.6207, allocations: 1.243 MB / 0.5052 GB, free: 6.992 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6208, allocations: 8.031 kB / 0.5052 GB, free: 6.984 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007213/0.6215, allocations: 126.7 kB / 0.5053 GB, free: 6.859 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.6227, allocations: 0.4983 MB / 0.5058 GB, free: 6.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.6229, allocations: 129.4 kB / 0.5059 GB, free: 6.184 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/0.6231, allocations: 95.91 kB / 0.506 GB, free: 6.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.6256, allocations: 0.9689 MB / 0.507 GB, free: 5.098 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.6257, allocations: 8 kB / 0.507 GB, free: 5.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.6258, allocations: 32 kB / 0.507 GB, free: 5.059 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.6259, allocations: 23.98 kB / 0.507 GB, free: 5.035 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/0.6284, allocations: 0.9059 MB / 0.5079 GB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009515/0.6379, allocations: 3.216 MB / 0.5111 GB, free: 0.832 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.6406, allocations: 0.7808 MB / 0.5118 GB, free: 44 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009894/0.6417, allocations: 399.1 kB / 0.5122 GB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.6428, allocations: 0.8708 MB / 0.5131 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.6429, allocations: 43.34 kB / 0.5131 GB, free: 14.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=97): time 4.176e-06/0.6429, allocations: 4 kB / 0.5131 GB, free: 14.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=107): time 0.007753/0.6507, allocations: 2.473 MB / 0.5155 GB, free: 11.99 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.6508, allocations: 64.41 kB / 0.5156 GB, free: 11.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.6522, allocations: 0.6599 MB / 0.5162 GB, free: 11.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.6524, allocations: 45.7 kB / 0.5163 GB, free: 11.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.6528, allocations: 478.3 kB / 0.5167 GB, free: 10.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/0.6533, allocations: 374.6 kB / 0.5171 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.6534, allocations: 36 kB / 0.5171 GB, free: 10.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002697/0.6537, allocations: 406.7 kB / 0.5175 GB, free: 9.918 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.655, allocations: 444 kB / 0.5179 GB, free: 9.484 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.6565, allocations: 0.6216 MB / 0.5185 GB, free: 8.809 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.02983/0.6863, allocations: 5.492 MB / 0.5239 GB, free: 3.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.677e-06/0.6863, allocations: 0 / 0.5239 GB, free: 3.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004795/0.6911, allocations: 1.56 MB / 0.5254 GB, free: 1.676 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.6912, allocations: 4 kB / 0.5254 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.6912, allocations: 4 kB / 0.5254 GB, free: 1.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.6928, allocations: 326.3 kB / 0.5257 GB, free: 1.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00367/0.6965, allocations: 423.4 kB / 0.5262 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2821/0.9787, allocations: 11.97 MB / 0.5378 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.9806, allocations: 62.39 kB / 0.5379 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.9808, allocations: 51.92 kB / 0.5379 GB, free: 112.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 (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.0003417/0.9812, allocations: 198.5 kB / 0.5381 GB, free: 112 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.9814, allocations: 93.34 kB / 0.5382 GB, free: 112 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/0.9858, allocations: 1.347 MB / 0.5395 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.9858, allocations: 15.64 kB / 0.5396 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.9859, allocations: 3.844 kB / 0.5396 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.9859, allocations: 6.922 kB / 0.5396 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006519/0.9924, allocations: 2.39 MB / 0.5419 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-06/0.9925, allocations: 3.938 kB / 0.5419 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003012/0.9955, allocations: 381 kB / 0.5423 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002108/0.9976, allocations: 403.9 kB / 0.5427 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/0.9978, allocations: 23.88 kB / 0.5427 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/1.009, allocations: 14.48 MB / 0.5568 GB, free: 97.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.64e-06/1.009, allocations: 3.906 kB / 0.5568 GB, free: 97.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005322/1.015, allocations: 1.933 MB / 0.5587 GB, free: 97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/1.015, allocations: 192.5 kB / 0.5589 GB, free: 96.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/1.015, allocations: 22.78 kB / 0.5589 GB, free: 96.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/1.016, allocations: 46.27 kB / 0.559 GB, free: 96.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/1.017, allocations: 104.3 kB / 0.5591 GB, free: 96.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.017, allocations: 39.36 kB / 0.5591 GB, free: 96.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008419/1.018, allocations: 0.4964 MB / 0.5596 GB, free: 96.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.018, allocations: 0 / 0.5596 GB, free: 96.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001999/1.02, allocations: 472.9 kB / 0.56 GB, free: 96.5 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.0007649/1.021, allocations: 294.8 kB / 0.5603 GB, free: 96.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00511/1.026, allocations: 1.584 MB / 0.5619 GB, free: 95.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.026, allocations: 0 / 0.5619 GB, free: 95.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002701/1.028, allocations: 1.117 MB / 0.5629 GB, free: 95.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/1.03, allocations: 123.7 kB / 0.5631 GB, free: 94.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/1.034, allocations: 2.042 MB / 0.5651 GB, free: 93.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/1.034, allocations: 1.091 MB / 0.5661 GB, free: 93.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001305/1.036, allocations: 171.5 kB / 0.5663 GB, free: 93.17 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005504/1.036, allocations: 104.1 kB / 0.5664 GB, free: 93.15 MB / 458.7 MB Notification: Performance of SimCode: time 1.748e-06/1.036, allocations: 0 / 0.5664 GB, free: 93.15 MB / 458.7 MB Notification: Performance of Templates: time 0.03664/1.073, allocations: 16.77 MB / 0.5828 GB, free: 82.83 MB / 458.7 MB