Running command: translateModel(OpenHPL.Examples.HPDetailed_generator,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.HPDetailed_generator") Notification: Performance of loadModel(OpenHPL): time 2.24/2.24, allocations: 257 MB / 269.1 MB, free: 11.76 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.341e-05/4.349e-05, allocations: 4 kB / 332 MB, free: 12.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3151, allocations: 59.96 MB / 392 MB, free: 4.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.4852, allocations: 102.4 MB / 494.4 MB, free: 14.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/0.4856, allocations: 83.95 kB / 494.5 MB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8106/1.296, allocations: 106.8 MB / 0.5873 GB, free: 83.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.44e-06/1.296, allocations: 0 / 0.5873 GB, free: 83.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001791/1.297, allocations: 132 kB / 0.5874 GB, free: 83.07 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2262 * Number of variables: 2262 Notification: Performance of Generate backend data structure: time 0.02261/1.319, allocations: 6.62 MB / 0.5938 GB, free: 76.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/1.319, allocations: 8.031 kB / 0.5938 GB, free: 76.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003837/1.323, allocations: 0.6747 MB / 0.5945 GB, free: 75.69 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009403/1.332, allocations: 3.603 MB / 0.598 GB, free: 72.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005245/1.333, allocations: 488.9 kB / 0.5985 GB, free: 71.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003414/1.336, allocations: 0.6288 MB / 0.5991 GB, free: 70.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03596/1.372, allocations: 13.91 MB / 0.6127 GB, free: 56.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000284/1.373, allocations: 11.91 kB / 0.6127 GB, free: 56.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003221/1.376, allocations: 264 kB / 0.613 GB, free: 56.69 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009507/1.377, allocations: 0.9892 MB / 0.6139 GB, free: 55.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03589/1.413, allocations: 14.83 MB / 0.6284 GB, free: 40.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08689/1.5, allocations: 35.83 MB / 0.6634 GB, free: 4.793 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02601/1.526, allocations: 12.95 MB / 0.676 GB, free: 7.688 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01234/1.538, allocations: 5.248 MB / 0.6812 GB, free: 2.422 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001799/1.54, allocations: 0.9772 MB / 0.6821 GB, free: 1.258 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/1.54, allocations: 104.3 kB / 0.6822 GB, free: 1.145 MB / 474.7 MB Notification: Performance of pre-optimization done (n=737): time 1.361e-05/1.54, allocations: 4 kB / 0.6822 GB, free: 1.141 MB / 474.7 MB Notification: Performance of matching and sorting (n=761): time 0.07725/1.618, allocations: 25.33 MB / 0.707 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/1.618, allocations: 133.3 kB / 0.7071 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/1.62, allocations: 0.8948 MB / 0.708 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001743/1.621, allocations: 145.7 kB / 0.7081 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001919/1.623, allocations: 2.274 MB / 0.7103 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004231/1.628, allocations: 2.572 MB / 0.7128 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/1.629, allocations: 144 kB / 0.713 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007702/1.63, allocations: 0.6427 MB / 0.7136 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5852/2.215, allocations: 4.805 MB / 0.7183 GB, free: 128.4 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01168/2.227, allocations: 5.487 MB / 0.7236 GB, free: 127.9 MB / 0.4949 GB 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.2261/2.453, allocations: 43.32 MB / 0.766 GB, free: 121.1 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.344e-05/2.453, allocations: 4 kB / 0.766 GB, free: 121.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.04586/2.499, allocations: 13.38 MB / 0.779 GB, free: 109.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/2.499, allocations: 12 kB / 0.779 GB, free: 109.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.126e-05/2.499, allocations: 11.25 kB / 0.779 GB, free: 109.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0075/2.506, allocations: 1.714 MB / 0.7807 GB, free: 108.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01077/2.517, allocations: 1.557 MB / 0.7822 GB, free: 107.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02613/2.543, allocations: 15.58 MB / 0.7975 GB, free: 92.92 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005685/2.549, allocations: 367.9 kB / 0.7978 GB, free: 92.66 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001658/2.551, allocations: 270.2 kB / 0.7981 GB, free: 92.43 MB / 0.4949 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: surgeTank.Vdot = $START.surgeTank.Vdot surgeTank.h = $START.surgeTank.h. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (813): * Single equations (assignments): 809 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 28,1 7,1 24,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.002096/2.553, allocations: 479.1 kB / 0.7985 GB, free: 92.02 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/2.554, allocations: 309.8 kB / 0.7988 GB, free: 91.87 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03564/2.59, allocations: 14.34 MB / 0.8128 GB, free: 78.71 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.367e-05/2.59, allocations: 80 kB / 0.8129 GB, free: 78.63 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.351e-05/2.59, allocations: 7.953 kB / 0.8129 GB, free: 78.62 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001677/2.59, allocations: 43.84 kB / 0.8129 GB, free: 78.58 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06195/2.652, allocations: 25.85 MB / 0.8382 GB, free: 52.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-05/2.652, allocations: 10.95 kB / 0.8382 GB, free: 52.79 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01209/2.664, allocations: 1.686 MB / 0.8398 GB, free: 51.11 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00631/2.671, allocations: 1.455 MB / 0.8413 GB, free: 49.66 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001837/2.672, allocations: 219.8 kB / 0.8415 GB, free: 49.45 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/2.694, allocations: 14.77 MB / 0.8559 GB, free: 34.13 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.075e-06/2.694, allocations: 11.94 kB / 0.8559 GB, free: 34.12 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04428/2.738, allocations: 21.8 MB / 0.8772 GB, free: 11.92 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006874/2.739, allocations: 413.5 kB / 0.8776 GB, free: 11.51 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001809/2.741, allocations: 152 kB / 0.8777 GB, free: 11.36 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004948/2.746, allocations: 355.6 kB / 0.8781 GB, free: 11.01 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001645/2.747, allocations: 0.5443 MB / 0.8786 GB, free: 10.46 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001007/2.748, allocations: 259.8 kB / 0.8788 GB, free: 10.21 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00109/2.749, allocations: 0.6514 MB / 0.8795 GB, free: 9.562 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.173e-06/2.749, allocations: 0 / 0.8795 GB, free: 9.562 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008205/2.758, allocations: 1.923 MB / 0.8814 GB, free: 7.664 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 25 (reservoir.m,tail.m,surgeTank.m,surgeTank.Vdot,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],generator.K_a) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (793): * Single equations (assignments): 788 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {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 30,1 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.004381/2.762, allocations: 0.6484 MB / 0.882 GB, free: 7.176 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0259/2.788, allocations: 12.15 MB / 0.8939 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.435e-06/2.788, allocations: 0 / 0.8939 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01575/2.804, allocations: 6.634 MB / 0.9003 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003436/2.807, allocations: 378.9 kB / 0.9007 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03743/2.845, allocations: 15.89 MB / 0.9162 GB, free: 3.957 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2966/3.141, allocations: 4.421 MB / 0.9205 GB, free: 153.2 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01544/3.157, allocations: 3.723 MB / 0.9242 GB, free: 153.1 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00537/3.162, allocations: 497.8 kB / 0.9246 GB, free: 153.1 MB / 0.5262 GB Notification: Performance of SimCode: time 1.591e-06/3.162, allocations: 0 / 0.9246 GB, free: 153.1 MB / 0.5262 GB Notification: Performance of Templates: time 0.1739/3.336, allocations: 83.55 MB / 1.006 GB, free: 112.2 MB / 0.5262 GB