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.339/2.339, allocations: 258 MB / 265.1 MB, free: 5.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.836e-05/1.849e-05, allocations: 0 / 327.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 60.24 MB / 387.9 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4365/0.5456, allocations: 102.6 MB / 490.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.5459, allocations: 82.86 kB / 490.6 MB, free: 6.086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08847/0.6344, allocations: 20.54 MB / 0.4992 GB, free: 9.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.141e-06/0.6344, allocations: 0 / 0.4992 GB, free: 9.871 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.239e-05/0.6345, allocations: 20 kB / 0.4992 GB, free: 9.852 MB / 394.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.003806/0.6383, allocations: 1.242 MB / 0.5004 GB, free: 8.625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.6384, allocations: 8.031 kB / 0.5004 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008306/0.6392, allocations: 130.7 kB / 0.5005 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.6406, allocations: 0.4895 MB / 0.501 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.6408, allocations: 101.3 kB / 0.5011 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.6411, allocations: 63.89 kB / 0.5012 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002488/0.6436, allocations: 0.8601 MB / 0.502 GB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.6458, allocations: 0.8561 MB / 0.5028 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/0.6459, allocations: 7.984 kB / 0.5029 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.646, allocations: 0 / 0.5029 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.6461, allocations: 20 kB / 0.5029 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009056/0.6552, allocations: 3.053 MB / 0.5059 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.6576, allocations: 0.7542 MB / 0.5066 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008996/0.6585, allocations: 370.7 kB / 0.5069 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.6597, allocations: 0.8742 MB / 0.5078 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.6598, allocations: 42.09 kB / 0.5078 GB, free: 2.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 6.086e-06/0.6598, allocations: 0 / 0.5078 GB, free: 2.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=107): time 0.008725/0.6686, allocations: 2.45 MB / 0.5102 GB, free: 392 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.6687, allocations: 64.72 kB / 0.5103 GB, free: 316 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.6699, allocations: 0.5941 MB / 0.5109 GB, free: 15.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.6701, allocations: 25.7 kB / 0.5109 GB, free: 15.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.6705, allocations: 481.9 kB / 0.5114 GB, free: 15.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000451/0.671, allocations: 359.5 kB / 0.5117 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.6711, allocations: 0 / 0.5117 GB, free: 15.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.6713, allocations: 406.9 kB / 0.5121 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.6724, allocations: 406.7 kB / 0.5125 GB, free: 14.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.6737, allocations: 0.5871 MB / 0.513 GB, free: 14.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.6755, allocations: 0.5238 MB / 0.5136 GB, free: 13.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.6755, allocations: 3.938 kB / 0.5136 GB, free: 13.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004733/0.6803, allocations: 1.503 MB / 0.515 GB, free: 12.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.6803, allocations: 4 kB / 0.515 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.6803, allocations: 4 kB / 0.515 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.6818, allocations: 325.8 kB / 0.5154 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003441/0.6853, allocations: 417.9 kB / 0.5157 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/0.6991, allocations: 11.61 MB / 0.5271 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.7008, allocations: 31.97 kB / 0.5271 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002583/0.7011, allocations: 51.66 kB / 0.5272 GB, free: 15.99 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: surgeTank.Vdot:VARIABLE(start = surgeTank.Vdot_0 unit = "m3/s" ) "Water flow rate" type: Real penstock.Vdot:VARIABLE(start = penstock.Vdot_0 unit = "m3/s" ) "Flow rate" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: turbine.theta:VARIABLE(unit = "rad" ) "one of servo angles" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: turbine.d:VARIABLE(unit = "m" ) "servo term" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: turbine.psi:VARIABLE(unit = "rad" ) "one of servo angles" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: turbine.phi:VARIABLE(unit = "rad" ) "one of servo angles" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: generator.Idq[1]:VARIABLE(unit = "A" ) type: Real [2] generator.Idq[2]:VARIABLE(unit = "A" ) type: Real [2] 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.0004432/0.7016, allocations: 148.8 kB / 0.5273 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.7019, allocations: 94.86 kB / 0.5274 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/0.7066, allocations: 1.308 MB / 0.5287 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.7067, allocations: 8 kB / 0.5287 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.7067, allocations: 4 kB / 0.5287 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.991e-05/0.7067, allocations: 7.969 kB / 0.5287 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007194/0.7139, allocations: 2.263 MB / 0.5309 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.714, allocations: 4 kB / 0.5309 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/0.7167, allocations: 387 kB / 0.5313 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002234/0.719, allocations: 394.4 kB / 0.5317 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002163/0.7193, allocations: 11.48 kB / 0.5317 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/0.7345, allocations: 13.98 MB / 0.5453 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.967e-06/0.7346, allocations: 4.031 kB / 0.5453 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005881/0.7405, allocations: 1.903 MB / 0.5472 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004506/0.741, allocations: 175.8 kB / 0.5473 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.7412, allocations: 8 kB / 0.5474 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.7422, allocations: 31.92 kB / 0.5474 GB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003119/0.7426, allocations: 97.11 kB / 0.5475 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.7427, allocations: 39.92 kB / 0.5475 GB, free: 11.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008405/0.7436, allocations: 443.2 kB / 0.5479 GB, free: 11.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.57e-07/0.7436, allocations: 0 / 0.5479 GB, free: 11.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002162/0.7457, allocations: 419.8 kB / 0.5483 GB, free: 10.93 MB / 442.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.0008799/0.7466, allocations: 275.7 kB / 0.5486 GB, free: 10.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005055/0.7517, allocations: 1.546 MB / 0.5501 GB, free: 9.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.362e-06/0.7518, allocations: 0 / 0.5501 GB, free: 9.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002998/0.7548, allocations: 1.101 MB / 0.5512 GB, free: 7.934 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.7559, allocations: 110.7 kB / 0.5513 GB, free: 7.828 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.7611, allocations: 1.982 MB / 0.5532 GB, free: 5.797 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.7625, allocations: 1.085 MB / 0.5543 GB, free: 4.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001508/0.764, allocations: 167.4 kB / 0.5544 GB, free: 4.512 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/0.7646, allocations: 103.4 kB / 0.5545 GB, free: 4.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.251e-06/0.7646, allocations: 3.938 kB / 0.5545 GB, free: 4.406 MB / 442.7 MB Notification: Performance of Templates: time 0.04072/0.8054, allocations: 15.71 MB / 0.5699 GB, free: 4.727 MB / 458.7 MB