Running command: translateModel(OpenHPL.Examples.HPDetailed_Francis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.HPDetailed_Francis") Notification: Performance of loadModel(OpenHPL): time 2.178/2.178, allocations: 258 MB / 271.8 MB, free: 13.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.062e-05, allocations: 4 kB / 335.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 60.25 MB / 396 MB, free: 5.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4192/0.5209, allocations: 108.2 MB / 0.4923 GB, free: 7.836 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.5212, allocations: 89.77 kB / 0.4924 GB, free: 7.789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8034/1.325, allocations: 110.5 MB / 0.6003 GB, free: 123 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.794e-06/1.325, allocations: 0 / 0.6003 GB, free: 123 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002594/1.325, allocations: 142.7 kB / 0.6004 GB, free: 123 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2345 * Number of variables: 2345 Notification: Performance of Generate backend data structure: time 0.02831/1.353, allocations: 6.868 MB / 0.6071 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.353, allocations: 10.73 kB / 0.6071 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004677/1.358, allocations: 0.7073 MB / 0.6078 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/1.369, allocations: 3.666 MB / 0.6114 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008712/1.37, allocations: 0.5322 MB / 0.6119 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003969/1.374, allocations: 0.6638 MB / 0.6126 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04014/1.414, allocations: 14.57 MB / 0.6268 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002544/1.415, allocations: 10.91 kB / 0.6268 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002491/1.417, allocations: 274.6 kB / 0.6271 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008928/1.418, allocations: 0.9997 MB / 0.628 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03988/1.458, allocations: 15.68 MB / 0.6434 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09344/1.551, allocations: 37.19 MB / 0.6797 GB, free: 94.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02468/1.576, allocations: 13.52 MB / 0.6929 GB, free: 81.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/1.578, allocations: 0.9873 MB / 0.6938 GB, free: 80.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.064e-05/1.578, allocations: 112.6 kB / 0.694 GB, free: 80.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=773): time 1.335e-05/1.578, allocations: 0 / 0.694 GB, free: 80.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=797): time 0.08372/1.661, allocations: 32.75 MB / 0.7259 GB, free: 51.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/1.662, allocations: 137.6 kB / 0.7261 GB, free: 51.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/1.664, allocations: 1.032 MB / 0.7271 GB, free: 50.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001686/1.665, allocations: 153.7 kB / 0.7272 GB, free: 50.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001116/1.666, allocations: 2.389 MB / 0.7296 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003262/1.67, allocations: 2.702 MB / 0.7322 GB, free: 45.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/1.671, allocations: 152 kB / 0.7323 GB, free: 44.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005432/1.671, allocations: 0.6674 MB / 0.733 GB, free: 44.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01085/1.682, allocations: 5.145 MB / 0.738 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01206/1.694, allocations: 5.924 MB / 0.7438 GB, free: 33.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/1.707, allocations: 6.094 MB / 0.7498 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.025e-05/1.707, allocations: 4.75 kB / 0.7498 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.03629/1.744, allocations: 13.93 MB / 0.7634 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/1.744, allocations: 8 kB / 0.7634 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.784e-05/1.744, allocations: 12 kB / 0.7634 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007281/1.751, allocations: 1.617 MB / 0.765 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01327/1.765, allocations: 1.818 MB / 0.7667 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03882/1.803, allocations: 21.91 MB / 0.7881 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00677/1.81, allocations: 379.7 kB / 0.7885 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00194/1.812, allocations: 291.8 kB / 0.7888 GB, free: 1.891 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: penstockKP.U[20]:VARIABLE(fixed = true ) "centered states" type: Real [20] penstockKP.U[11]:VARIABLE(fixed = true ) "centered states" type: Real [20] 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: 51 * Number of states: 0 () * Number of discrete variables: 4 (penstockKP.KP.boundaryCon[2,2],penstockKP.KP.boundaryCon[2,1],penstockKP.KP.boundaryCon[1,2],penstockKP.KP.boundaryCon[1,1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (898): * Single equations (assignments): 890 * 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: 0 * Non-linear torn systems: 2 {1 28,1 22} Notification: Performance of prepare postOptimizeDAE: time 0.2871/2.099, allocations: 2.498 MB / 0.7912 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/2.101, allocations: 335.5 kB / 0.7915 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04345/2.144, allocations: 15.2 MB / 0.8064 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.579e-05/2.144, allocations: 85.25 kB / 0.8065 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.944e-05/2.144, allocations: 1.406 kB / 0.8065 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001628/2.144, allocations: 48.47 kB / 0.8065 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0669/2.211, allocations: 27.05 MB / 0.8329 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.118e-05/2.211, allocations: 7.406 kB / 0.8329 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01375/2.225, allocations: 1.797 MB / 0.8347 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008508/2.234, allocations: 1.661 MB / 0.8363 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001586/2.235, allocations: 228 kB / 0.8365 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.033/2.268, allocations: 22.99 MB / 0.859 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/2.268, allocations: 13.56 kB / 0.859 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0493/2.318, allocations: 23.05 MB / 0.8815 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008677/2.319, allocations: 435.9 kB / 0.8819 GB, free: 91.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001843/2.32, allocations: 167.5 kB / 0.8821 GB, free: 90.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004997/2.325, allocations: 367.7 kB / 0.8824 GB, free: 90.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00159/2.327, allocations: 0.5851 MB / 0.883 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009418/2.328, allocations: 270.8 kB / 0.8833 GB, free: 90.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001267/2.329, allocations: 0.7574 MB / 0.884 GB, free: 89.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.97e-07/2.329, allocations: 0 / 0.884 GB, free: 89.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006334/2.336, allocations: 2.015 MB / 0.886 GB, free: 87.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 30 (reservoir.m,intake.M,tail.m,generator.DELTA,generator.EEd,generator.EEq,generator.Ef,generator.Vstabilizer,generator.w,surgeTank.m,penstockKP.U[1],penstockKP.U[2],penstockKP.U[3],penstockKP.U[4],penstockKP.U[5],penstockKP.U[6],penstockKP.U[7],penstockKP.U[8],penstockKP.U[9],penstockKP.U[10],penstockKP.U[11],penstockKP.U[12],penstockKP.U[13],penstockKP.U[14],penstockKP.U[15],penstockKP.U[16],penstockKP.U[17],penstockKP.U[18],penstockKP.U[19],penstockKP.U[20]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (838): * Single equations (assignments): 828 * 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: 0 * Non-linear torn systems: 3 {1 30,1 24,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001466/2.337, allocations: 460 kB / 0.8864 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02634/2.363, allocations: 13.01 MB / 0.8991 GB, free: 75.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.09e-06/2.364, allocations: 0 / 0.8991 GB, free: 75.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01463/2.378, allocations: 7.321 MB / 0.9062 GB, free: 69.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/2.381, allocations: 380.3 kB / 0.9066 GB, free: 68.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03473/2.416, allocations: 21.95 MB / 0.928 GB, free: 48.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006119/2.422, allocations: 4.557 MB / 0.9325 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01352/2.435, allocations: 3.829 MB / 0.9362 GB, free: 42.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004431/2.44, allocations: 0.5266 MB / 0.9368 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.474e-06/2.44, allocations: 0 / 0.9368 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.4912/2.931, allocations: 86.13 MB / 1.021 GB, free: 131.8 MB / 0.5261 GB