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.177/2.177, allocations: 258 MB / 271.8 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.394e-05, allocations: 4 kB / 335.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 60.24 MB / 396 MB, free: 5.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4591/0.5636, allocations: 103.3 MB / 499.3 MB, free: 12.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5639, allocations: 90.95 kB / 499.4 MB, free: 12.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09554/0.6594, allocations: 20.93 MB / 0.5081 GB, free: 9.406 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.705e-06/0.6595, allocations: 4 kB / 0.5081 GB, free: 9.402 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.418e-05/0.6596, allocations: 27.92 kB / 0.5081 GB, free: 9.375 MB / 426.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.003588/0.6632, allocations: 1.239 MB / 0.5094 GB, free: 8.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.6632, allocations: 8.031 kB / 0.5094 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006969/0.6639, allocations: 126.7 kB / 0.5095 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.665, allocations: 0.5022 MB / 0.51 GB, free: 7.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.6652, allocations: 129.4 kB / 0.5101 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.6655, allocations: 99.84 kB / 0.5102 GB, free: 7.172 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.6682, allocations: 1.031 MB / 0.5112 GB, free: 6.121 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.6682, allocations: 0 / 0.5112 GB, free: 6.121 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.6684, allocations: 40 kB / 0.5112 GB, free: 6.082 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.6684, allocations: 20 kB / 0.5113 GB, free: 6.062 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/0.6714, allocations: 1.011 MB / 0.5122 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009179/0.6806, allocations: 3.2 MB / 0.5154 GB, free: 1.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/0.6836, allocations: 0.8498 MB / 0.5162 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/0.6848, allocations: 0.8747 MB / 0.5171 GB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.992e-05/0.6849, allocations: 43.34 kB / 0.5171 GB, free: 15.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 4.555e-06/0.6849, allocations: 0 / 0.5171 GB, free: 15.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=107): time 0.01019/0.6951, allocations: 3.187 MB / 0.5202 GB, free: 12.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.6952, allocations: 64.41 kB / 0.5203 GB, free: 12.44 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.6966, allocations: 0.6637 MB / 0.5209 GB, free: 11.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.6968, allocations: 45.7 kB / 0.521 GB, free: 11.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004249/0.6972, allocations: 474.9 kB / 0.5214 GB, free: 11.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004387/0.6976, allocations: 382.5 kB / 0.5218 GB, free: 10.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.6978, allocations: 28 kB / 0.5218 GB, free: 10.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000266/0.6981, allocations: 410.7 kB / 0.5222 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.6995, allocations: 479.8 kB / 0.5227 GB, free: 9.961 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.7012, allocations: 0.6671 MB / 0.5233 GB, free: 9.246 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.7029, allocations: 0.5633 MB / 0.5239 GB, free: 8.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.255e-06/0.7029, allocations: 0 / 0.5239 GB, free: 8.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.005057/0.708, allocations: 1.666 MB / 0.5255 GB, free: 6.996 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.708, allocations: 4 kB / 0.5255 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.7081, allocations: 11.98 kB / 0.5255 GB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.7096, allocations: 330.2 kB / 0.5258 GB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003509/0.7131, allocations: 435.4 kB / 0.5262 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/0.7278, allocations: 12.08 MB / 0.538 GB, free: 9.074 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.7295, allocations: 56.05 kB / 0.5381 GB, free: 9.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.7297, allocations: 55.97 kB / 0.5381 GB, free: 8.965 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: penstock.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real intake.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real 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.0006716/0.7304, allocations: 241.2 kB / 0.5384 GB, free: 8.719 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.7307, allocations: 98.77 kB / 0.5385 GB, free: 8.621 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/0.7355, allocations: 1.44 MB / 0.5399 GB, free: 7.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.7356, allocations: 12 kB / 0.5399 GB, free: 7.148 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.7356, allocations: 8 kB / 0.5399 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.7356, allocations: 3.984 kB / 0.5399 GB, free: 7.137 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007403/0.743, allocations: 2.48 MB / 0.5423 GB, free: 4.566 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.7431, allocations: 4 kB / 0.5423 GB, free: 4.562 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002766/0.7459, allocations: 395.7 kB / 0.5427 GB, free: 4.176 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002136/0.748, allocations: 391 kB / 0.5431 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/0.7482, allocations: 31.97 kB / 0.5431 GB, free: 3.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01638/0.7646, allocations: 14.59 MB / 0.5573 GB, free: 3.828 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.733e-06/0.7647, allocations: 0 / 0.5573 GB, free: 3.828 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00631/0.771, allocations: 2.068 MB / 0.5594 GB, free: 1.668 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.7715, allocations: 187.7 kB / 0.5595 GB, free: 1.465 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.7717, allocations: 24 kB / 0.5596 GB, free: 1.441 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.7727, allocations: 51.91 kB / 0.5596 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/0.773, allocations: 96.81 kB / 0.5597 GB, free: 1.297 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.7732, allocations: 40 kB / 0.5597 GB, free: 1.258 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009973/0.7742, allocations: 0.5107 MB / 0.5602 GB, free: 0.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.962e-06/0.7742, allocations: 0 / 0.5602 GB, free: 0.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00197/0.7762, allocations: 467.8 kB / 0.5607 GB, free: 300 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (reservoir.m,intake.M,tail.m,generator.DELTA,generator.EEd,generator.EEq,generator.Ef,generator.Vstabilizer,generator.w,penstock.M,surgeTank.m) * 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.0008237/0.777, allocations: 303.6 kB / 0.561 GB, free: 15.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005559/0.7826, allocations: 1.721 MB / 0.5627 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.7826, allocations: 0 / 0.5627 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003273/0.7859, allocations: 1.199 MB / 0.5638 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.7871, allocations: 123.2 kB / 0.5639 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.7927, allocations: 2.696 MB / 0.5666 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000914/0.7937, allocations: 1.089 MB / 0.5676 GB, free: 9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001403/0.7951, allocations: 183.6 kB / 0.5678 GB, free: 8.816 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/0.7957, allocations: 99.39 kB / 0.5679 GB, free: 8.719 MB / 490.7 MB Notification: Performance of SimCode: time 1.251e-06/0.7957, allocations: 0 / 0.5679 GB, free: 8.719 MB / 490.7 MB Notification: Performance of Templates: time 0.04183/0.8375, allocations: 16.79 MB / 0.5843 GB, free: 7.941 MB / 0.4948 GB