Running command: translateModel(OpenHPL.Tests.HPSquareFittingsTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Tests.HPSquareFittingsTest") Notification: Performance of loadModel(OpenHPL): time 2.241/2.241, allocations: 257 MB / 269.1 MB, free: 11.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.743e-05/3.752e-05, allocations: 8 kB / 332 MB, free: 12.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3172, allocations: 59.96 MB / 392 MB, free: 4.609 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.4516, allocations: 90.37 MB / 482.4 MB, free: 10.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.4519, allocations: 79.95 kB / 482.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1186/0.5704, allocations: 26.57 MB / 0.4971 GB, free: 15.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.921e-06/0.5705, allocations: 0 / 0.4971 GB, free: 15.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.849e-05/0.5706, allocations: 28 kB / 0.4971 GB, free: 15.38 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.004714/0.5753, allocations: 1.473 MB / 0.4985 GB, free: 13.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.5754, allocations: 12.02 kB / 0.4985 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.5765, allocations: 174.2 kB / 0.4987 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.5781, allocations: 0.5878 MB / 0.4993 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.5784, allocations: 205 kB / 0.4995 GB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003715/0.5788, allocations: 127.8 kB / 0.4996 GB, free: 12.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003224/0.582, allocations: 1.14 MB / 0.5007 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/0.5821, allocations: 11.98 kB / 0.5007 GB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.5823, allocations: 40 kB / 0.5008 GB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.5823, allocations: 28 kB / 0.5008 GB, free: 11.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/0.5854, allocations: 1.037 MB / 0.5018 GB, free: 10.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.597, allocations: 3.691 MB / 0.5054 GB, free: 6.641 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00571/0.6028, allocations: 1.272 MB / 0.5067 GB, free: 5.336 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.6041, allocations: 429.4 kB / 0.5071 GB, free: 4.906 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.6053, allocations: 0.8779 MB / 0.5079 GB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.6054, allocations: 58.55 kB / 0.508 GB, free: 3.777 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 5.448e-06/0.6054, allocations: 0 / 0.508 GB, free: 3.777 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.01184/0.6173, allocations: 3.944 MB / 0.5118 GB, free: 15.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.6174, allocations: 148.4 kB / 0.512 GB, free: 15.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.6187, allocations: 0.6565 MB / 0.5126 GB, free: 14.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000292/0.619, allocations: 49.7 kB / 0.5127 GB, free: 14.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000728/0.6198, allocations: 0.5724 MB / 0.5132 GB, free: 14.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007537/0.6205, allocations: 472.8 kB / 0.5137 GB, free: 13.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.6208, allocations: 36 kB / 0.5137 GB, free: 13.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000377/0.6212, allocations: 422.7 kB / 0.5141 GB, free: 13.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/0.6233, allocations: 452 kB / 0.5145 GB, free: 12.76 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00263/0.6259, allocations: 0.7769 MB / 0.5153 GB, free: 11.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02366/0.6496, allocations: 2.769 MB / 0.518 GB, free: 9.016 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/0.6497, allocations: 0 / 0.518 GB, free: 9.016 MB / 458.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.01001/0.6597, allocations: 1.909 MB / 0.5199 GB, free: 7.086 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.6598, allocations: 8 kB / 0.5199 GB, free: 7.078 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/0.6599, allocations: 8 kB / 0.5199 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007999/0.6679, allocations: 0.8892 MB / 0.5207 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003087/0.671, allocations: 367.5 kB / 0.5211 GB, free: 5.809 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006288/0.6774, allocations: 2.942 MB / 0.524 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/0.6798, allocations: 48 kB / 0.524 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004196/0.6803, allocations: 71.98 kB / 0.5241 GB, free: 2.648 MB / 458.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe4.M = 0.0 $DER.pipe3.M = 0.0 $DER.pipe2.M = 0.0 $DER.pipe1.M = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 172 * 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 {2 11,2 11,2 11,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006711/0.6809, allocations: 204.4 kB / 0.5243 GB, free: 2.441 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/0.6816, allocations: 114.6 kB / 0.5244 GB, free: 2.328 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007839/0.6894, allocations: 1.535 MB / 0.5259 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/0.6895, allocations: 12 kB / 0.5259 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.321e-05/0.6896, allocations: 8 kB / 0.5259 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-05/0.6896, allocations: 7.969 kB / 0.5259 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2868/0.9764, allocations: 2.974 MB / 0.5288 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.9765, allocations: 3.156 kB / 0.5288 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005023/0.9815, allocations: 0.7992 MB / 0.5296 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002329/0.9839, allocations: 448 kB / 0.53 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/0.9841, allocations: 37.69 kB / 0.5301 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/1.001, allocations: 22.58 MB / 0.5521 GB, free: 98.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/1.001, allocations: 6.844 kB / 0.5521 GB, free: 98.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005666/1.007, allocations: 2.413 MB / 0.5545 GB, free: 97.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/1.007, allocations: 183.5 kB / 0.5547 GB, free: 97.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/1.007, allocations: 27.44 kB / 0.5547 GB, free: 97.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.008, allocations: 27.62 kB / 0.5547 GB, free: 97.56 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/1.009, allocations: 121.9 kB / 0.5548 GB, free: 97.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.009, allocations: 44.23 kB / 0.5549 GB, free: 97.56 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000775/1.01, allocations: 0.4897 MB / 0.5553 GB, free: 97.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.01, allocations: 7.5 kB / 0.5554 GB, free: 97.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002387/1.012, allocations: 0.4951 MB / 0.5558 GB, free: 97.46 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (Resorvoir4.m,tail4.Vdot,tailwater4.m,Resorvoir3.m,tail3.Vdot,tailwater3.m,Resorvoir2.m,tail2.Vdot,tailwater2.m,Resorvoir1.m,tail1.Vdot,tailwater1.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000761/1.013, allocations: 291.8 kB / 0.5561 GB, free: 97.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003625/1.017, allocations: 1.247 MB / 0.5573 GB, free: 97.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.791e-06/1.017, allocations: 3.5 kB / 0.5573 GB, free: 97.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003762/1.02, allocations: 1.676 MB / 0.559 GB, free: 96.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/1.022, allocations: 193.5 kB / 0.5592 GB, free: 96.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/1.027, allocations: 2.332 MB / 0.5614 GB, free: 95.01 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/1.027, allocations: 1.158 MB / 0.5626 GB, free: 94.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001243/1.029, allocations: 194 kB / 0.5627 GB, free: 94.24 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005598/1.029, allocations: 115.8 kB / 0.5629 GB, free: 94.22 MB / 458.7 MB Notification: Performance of SimCode: time 1.344e-06/1.029, allocations: 3.469 kB / 0.5629 GB, free: 94.22 MB / 458.7 MB Notification: Performance of Templates: time 0.04445/1.074, allocations: 21.6 MB / 0.584 GB, free: 80.66 MB / 458.7 MB