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.295/2.295, allocations: 257 MB / 269.1 MB, free: 11.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.332e-05, allocations: 4 kB / 332 MB, free: 12.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3179, allocations: 59.97 MB / 392 MB, free: 4.598 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.4736, allocations: 101.6 MB / 493.6 MB, free: 14.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.4739, allocations: 79.97 kB / 493.7 MB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7308/1.205, allocations: 106 MB / 0.5857 GB, free: 85.53 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.401e-06/1.205, allocations: 4 kB / 0.5857 GB, free: 85.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001971/1.205, allocations: 135.9 kB / 0.5858 GB, free: 85.39 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.02417/1.229, allocations: 6.567 MB / 0.5922 GB, free: 78.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/1.229, allocations: 8.031 kB / 0.5922 GB, free: 78.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004002/1.233, allocations: 0.6709 MB / 0.5929 GB, free: 78.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009651/1.243, allocations: 3.58 MB / 0.5964 GB, free: 74.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005371/1.244, allocations: 480.8 kB / 0.5968 GB, free: 73.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003531/1.247, allocations: 0.6249 MB / 0.5974 GB, free: 73.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03519/1.282, allocations: 13.87 MB / 0.611 GB, free: 59.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002595/1.283, allocations: 11.89 kB / 0.611 GB, free: 59.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002985/1.286, allocations: 264 kB / 0.6112 GB, free: 59.13 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009188/1.287, allocations: 0.9852 MB / 0.6122 GB, free: 58.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.037/1.324, allocations: 14.81 MB / 0.6267 GB, free: 43.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08417/1.408, allocations: 35.72 MB / 0.6615 GB, free: 7.383 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02576/1.434, allocations: 12.93 MB / 0.6742 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.012/1.446, allocations: 5.228 MB / 0.6793 GB, free: 5.039 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/1.447, allocations: 0.9888 MB / 0.6802 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/1.447, allocations: 104.2 kB / 0.6803 GB, free: 3.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=731): time 1.299e-05/1.447, allocations: 4 kB / 0.6803 GB, free: 3.746 MB / 474.7 MB Notification: Performance of matching and sorting (n=755): time 0.06989/1.517, allocations: 25.25 MB / 0.705 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/1.517, allocations: 129.3 kB / 0.7051 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/1.519, allocations: 0.8827 MB / 0.706 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001795/1.521, allocations: 146.4 kB / 0.7061 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002078/1.523, allocations: 2.262 MB / 0.7083 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004165/1.527, allocations: 2.545 MB / 0.7108 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009118/1.528, allocations: 136 kB / 0.7109 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000767/1.529, allocations: 0.6425 MB / 0.7116 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2971/1.826, allocations: 4.796 MB / 0.7163 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01278/1.839, allocations: 5.475 MB / 0.7216 GB, free: 127.7 MB / 0.4948 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.2011/2.04, allocations: 43.24 MB / 0.7638 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.27e-05/2.04, allocations: 4 kB / 0.7638 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.03794/2.078, allocations: 13.36 MB / 0.7769 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/2.078, allocations: 17.25 kB / 0.7769 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-05/2.078, allocations: 8 kB / 0.7769 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007455/2.086, allocations: 1.728 MB / 0.7786 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01084/2.097, allocations: 1.533 MB / 0.7801 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02648/2.123, allocations: 15.62 MB / 0.7953 GB, free: 96.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005647/2.129, allocations: 347.8 kB / 0.7957 GB, free: 96.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001596/2.131, allocations: 270.5 kB / 0.7959 GB, free: 96.02 MB / 0.4948 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.001888/2.132, allocations: 476.8 kB / 0.7964 GB, free: 95.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/2.134, allocations: 304.2 kB / 0.7967 GB, free: 95.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03548/2.169, allocations: 14.3 MB / 0.8106 GB, free: 82.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.139e-05/2.169, allocations: 80 kB / 0.8107 GB, free: 82.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/2.169, allocations: 3.953 kB / 0.8107 GB, free: 82.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001617/2.169, allocations: 43.64 kB / 0.8108 GB, free: 82.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06121/2.231, allocations: 25.74 MB / 0.8359 GB, free: 56.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.225e-05/2.231, allocations: 8 kB / 0.8359 GB, free: 56.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01175/2.242, allocations: 1.662 MB / 0.8375 GB, free: 55.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006276/2.249, allocations: 1.453 MB / 0.839 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00181/2.251, allocations: 215.8 kB / 0.8392 GB, free: 53.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02071/2.271, allocations: 13.5 MB / 0.8524 GB, free: 39.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.897e-06/2.271, allocations: 11.94 kB / 0.8524 GB, free: 39.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04832/2.32, allocations: 21.74 MB / 0.8736 GB, free: 17.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007088/2.32, allocations: 414.6 kB / 0.874 GB, free: 17.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002342/2.323, allocations: 152 kB / 0.8741 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005907/2.329, allocations: 343.6 kB / 0.8745 GB, free: 16.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002573/2.331, allocations: 0.5326 MB / 0.875 GB, free: 16.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001977/2.333, allocations: 263.8 kB / 0.8752 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001138/2.335, allocations: 0.6358 MB / 0.8759 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.58e-06/2.335, allocations: 4 kB / 0.8759 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007832/2.342, allocations: 1.912 MB / 0.8777 GB, free: 13.22 MB / 0.4948 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.003036/2.346, allocations: 0.6385 MB / 0.8783 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0259/2.371, allocations: 12.14 MB / 0.8902 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.661e-06/2.371, allocations: 0 / 0.8902 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0168/2.388, allocations: 6.594 MB / 0.8966 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/2.392, allocations: 371.6 kB / 0.897 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.324/2.716, allocations: 15.76 MB / 0.9124 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009352/2.725, allocations: 4.396 MB / 0.9167 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01487/2.74, allocations: 3.715 MB / 0.9203 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006031/2.746, allocations: 489.8 kB / 0.9208 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.301e-06/2.746, allocations: 0 / 0.9208 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.1743/2.921, allocations: 82.97 MB / 1.002 GB, free: 90.95 MB / 0.5105 GB