Running command: translateModel(OpenHPL.Examples.HPDetailed,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.HPDetailed") Notification: Performance of loadModel(OpenHPL): time 2.363/2.363, allocations: 256.4 MB / 268.5 MB, free: 12.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.816e-05, allocations: 4 kB / 331.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3255, allocations: 59.8 MB / 391 MB, free: 5.461 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.4781, allocations: 101.6 MB / 492.6 MB, free: 15.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.4784, allocations: 87.95 kB / 492.7 MB, free: 15.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7652/1.244, allocations: 106 MB / 0.5846 GB, free: 57.99 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.333e-06/1.244, allocations: 3.875 kB / 0.5846 GB, free: 57.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001881/1.244, allocations: 128.3 kB / 0.5848 GB, free: 57.98 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: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.02703/1.271, allocations: 6.568 MB / 0.5912 GB, free: 54.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.271, allocations: 7.812 kB / 0.5912 GB, free: 54.65 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004439/1.275, allocations: 0.6708 MB / 0.5918 GB, free: 54.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/1.286, allocations: 3.583 MB / 0.5953 GB, free: 53.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006269/1.287, allocations: 486.9 kB / 0.5958 GB, free: 53.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003989/1.291, allocations: 0.6259 MB / 0.5964 GB, free: 53.03 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03947/1.33, allocations: 13.94 MB / 0.61 GB, free: 47.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003159/1.33, allocations: 15.89 kB / 0.61 GB, free: 47.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003511/1.334, allocations: 267.8 kB / 0.6103 GB, free: 47.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009398/1.335, allocations: 0.9852 MB / 0.6113 GB, free: 46.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03766/1.373, allocations: 14.91 MB / 0.6258 GB, free: 31.21 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09249/1.465, allocations: 35.72 MB / 0.6607 GB, free: 11.62 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0294/1.495, allocations: 13.01 MB / 0.6734 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01276/1.507, allocations: 5.232 MB / 0.6785 GB, free: 9.309 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001858/1.509, allocations: 0.9829 MB / 0.6795 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/1.509, allocations: 108.3 kB / 0.6796 GB, free: 8.051 MB / 490.7 MB Notification: Performance of pre-optimization done (n=731): time 1.666e-05/1.509, allocations: 3.984 kB / 0.6796 GB, free: 8.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=755): time 0.1064/1.616, allocations: 25.26 MB / 0.7043 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.616, allocations: 137.3 kB / 0.7044 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/1.618, allocations: 0.8709 MB / 0.7052 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001863/1.62, allocations: 149.7 kB / 0.7054 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001998/1.622, allocations: 2.261 MB / 0.7076 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004517/1.626, allocations: 2.546 MB / 0.7101 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/1.628, allocations: 140 kB / 0.7102 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009577/1.629, allocations: 0.6386 MB / 0.7108 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0125/1.642, allocations: 4.801 MB / 0.7155 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3578/2, allocations: 5.506 MB / 0.7209 GB, free: 148.8 MB / 0.5105 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.2045/2.204, allocations: 43.23 MB / 0.7631 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-05/2.204, allocations: 7.312 kB / 0.7631 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.04234/2.247, allocations: 13.39 MB / 0.7762 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/2.247, allocations: 12 kB / 0.7762 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.836e-05/2.247, allocations: 8 kB / 0.7762 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007837/2.255, allocations: 1.726 MB / 0.7779 GB, free: 136 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01137/2.266, allocations: 1.529 MB / 0.7794 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02725/2.293, allocations: 15.62 MB / 0.7947 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006052/2.3, allocations: 351.7 kB / 0.795 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002115/2.302, allocations: 267.8 kB / 0.7952 GB, free: 118 MB / 0.5105 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 (806): * Single equations (assignments): 802 * 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.002835/2.305, allocations: 470.9 kB / 0.7957 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/2.306, allocations: 309.3 kB / 0.796 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03982/2.346, allocations: 14.3 MB / 0.8099 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.041e-05/2.346, allocations: 80 kB / 0.81 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-05/2.346, allocations: 3.953 kB / 0.81 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001795/2.346, allocations: 39.84 kB / 0.8101 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0695/2.416, allocations: 25.78 MB / 0.8352 GB, free: 77.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-05/2.416, allocations: 7.938 kB / 0.8353 GB, free: 77.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01225/2.428, allocations: 1.662 MB / 0.8369 GB, free: 75.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006548/2.435, allocations: 1.436 MB / 0.8383 GB, free: 74.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00222/2.437, allocations: 219.8 kB / 0.8385 GB, free: 74.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02155/2.458, allocations: 13.5 MB / 0.8517 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/2.458, allocations: 11.94 kB / 0.8517 GB, free: 60.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05159/2.51, allocations: 21.74 MB / 0.8729 GB, free: 37.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007237/2.511, allocations: 413 kB / 0.8733 GB, free: 37.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002301/2.513, allocations: 156 kB / 0.8735 GB, free: 37.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006051/2.519, allocations: 339.6 kB / 0.8738 GB, free: 37.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002668/2.522, allocations: 0.5365 MB / 0.8743 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002037/2.524, allocations: 259.8 kB / 0.8746 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001173/2.525, allocations: 0.6358 MB / 0.8752 GB, free: 35.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.12e-07/2.525, allocations: 4 kB / 0.8752 GB, free: 35.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008374/2.534, allocations: 1.909 MB / 0.877 GB, free: 33.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 24 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (787): * Single equations (assignments): 783 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {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.003213/2.537, allocations: 0.6567 MB / 0.8777 GB, free: 33.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02671/2.564, allocations: 12.3 MB / 0.8897 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/2.564, allocations: 0 / 0.8897 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0148/2.578, allocations: 6.652 MB / 0.8962 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004164/2.583, allocations: 375.9 kB / 0.8965 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3294/2.912, allocations: 15.81 MB / 0.912 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008931/2.921, allocations: 4.395 MB / 0.9163 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01517/2.936, allocations: 3.718 MB / 0.9199 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005486/2.942, allocations: 493.6 kB / 0.9204 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.753e-06/2.942, allocations: 0 / 0.9204 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.1749/3.117, allocations: 83.63 MB / 1.002 GB, free: 93.33 MB / 0.5105 GB