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.166/2.166, allocations: 258 MB / 271.8 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.713e-05/3.728e-05, allocations: 6.109 kB / 335.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 60.25 MB / 396 MB, free: 5.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4024/0.5061, allocations: 90.53 MB / 486.5 MB, free: 9.312 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.5063, allocations: 87.81 kB / 486.6 MB, free: 9.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.116/0.6224, allocations: 26.72 MB / 0.5013 GB, free: 472 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6224, allocations: 4 kB / 0.5013 GB, free: 468 kB / 410.7 MB Notification: Performance of Transformations before backend: time 7.087e-05/0.6225, allocations: 20 kB / 0.5013 GB, free: 448 kB / 410.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.004515/0.627, allocations: 1.477 MB / 0.5027 GB, free: 14.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.6271, allocations: 8.031 kB / 0.5027 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009603/0.6281, allocations: 174.3 kB / 0.5029 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.6295, allocations: 0.5994 MB / 0.5035 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.6298, allocations: 209 kB / 0.5037 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003101/0.6301, allocations: 123.9 kB / 0.5038 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0031/0.6332, allocations: 1.167 MB / 0.5049 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.96e-05/0.6333, allocations: 7.984 kB / 0.505 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.6335, allocations: 44 kB / 0.505 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.6335, allocations: 28 kB / 0.505 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00307/0.6366, allocations: 1.082 MB / 0.5061 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.6477, allocations: 3.694 MB / 0.5097 GB, free: 7.598 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00584/0.6536, allocations: 1.299 MB / 0.511 GB, free: 6.266 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.6548, allocations: 0.8759 MB / 0.5118 GB, free: 5.207 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.6549, allocations: 50.5 kB / 0.5119 GB, free: 5.148 MB / 426.7 MB Notification: Performance of pre-optimization done (n=116): time 4.459e-06/0.6549, allocations: 0 / 0.5119 GB, free: 5.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.01328/0.6682, allocations: 4.663 MB / 0.5164 GB, free: 192 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.6683, allocations: 148.5 kB / 0.5166 GB, free: 12 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.6696, allocations: 0.6642 MB / 0.5172 GB, free: 15.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.6698, allocations: 49.69 kB / 0.5172 GB, free: 15.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005171/0.6703, allocations: 0.5841 MB / 0.5178 GB, free: 14.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005285/0.6709, allocations: 469.2 kB / 0.5183 GB, free: 14.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.671, allocations: 32 kB / 0.5183 GB, free: 14.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002753/0.6713, allocations: 418.7 kB / 0.5187 GB, free: 13.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.6727, allocations: 467.8 kB / 0.5191 GB, free: 13.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.6743, allocations: 0.808 MB / 0.5199 GB, free: 12.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01549/0.6898, allocations: 2.793 MB / 0.5227 GB, free: 9.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/0.6899, allocations: 0 / 0.5227 GB, free: 9.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.006552/0.6965, allocations: 1.959 MB / 0.5246 GB, free: 7.539 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.6965, allocations: 8 kB / 0.5246 GB, free: 7.531 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.6966, allocations: 8 kB / 0.5246 GB, free: 7.523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005473/0.7021, allocations: 0.9087 MB / 0.5255 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.704, allocations: 351.5 kB / 0.5258 GB, free: 6.258 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004249/0.7082, allocations: 2.967 MB / 0.5287 GB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.7096, allocations: 48 kB / 0.5288 GB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.7098, allocations: 72.17 kB / 0.5288 GB, free: 3.07 MB / 442.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.0007232/0.7105, allocations: 285.2 kB / 0.5291 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/0.7109, allocations: 110.6 kB / 0.5292 GB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/0.7159, allocations: 1.543 MB / 0.5307 GB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/0.716, allocations: 16 kB / 0.5307 GB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.716, allocations: 4 kB / 0.5307 GB, free: 1.074 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/0.716, allocations: 7.969 kB / 0.5307 GB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00878/0.7248, allocations: 3.023 MB / 0.5337 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.7249, allocations: 4 kB / 0.5337 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005253/0.7301, allocations: 0.816 MB / 0.5345 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/0.7322, allocations: 382.5 kB / 0.5348 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/0.7324, allocations: 35.98 kB / 0.5349 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02445/0.7569, allocations: 22.72 MB / 0.5571 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.7569, allocations: 3.938 kB / 0.5571 GB, free: 3.828 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006431/0.7634, allocations: 2.46 MB / 0.5595 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004483/0.7639, allocations: 191.5 kB / 0.5597 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.7641, allocations: 24 kB / 0.5597 GB, free: 1.008 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000987/0.7651, allocations: 28 kB / 0.5597 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000329/0.7655, allocations: 123.7 kB / 0.5598 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.7656, allocations: 39.98 kB / 0.5599 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009202/0.7665, allocations: 0.499 MB / 0.5604 GB, free: 328 kB / 474.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.7665, allocations: 0 / 0.5604 GB, free: 328 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.002595/0.7691, allocations: 499.9 kB / 0.5608 GB, free: 15.83 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (Resorvoir4.m,tail4.M,tailwater4.m,Resorvoir3.m,tail3.M,tailwater3.m,Resorvoir2.m,tail2.M,tailwater2.m,Resorvoir1.m,tail1.M,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.0009123/0.7701, allocations: 309.3 kB / 0.5611 GB, free: 15.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004246/0.7743, allocations: 1.292 MB / 0.5624 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.219e-06/0.7744, allocations: 5.375 kB / 0.5624 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004571/0.779, allocations: 1.759 MB / 0.5641 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.7805, allocations: 191.1 kB / 0.5643 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006544/0.7871, allocations: 3.127 MB / 0.5674 GB, free: 8.992 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.7882, allocations: 1.175 MB / 0.5685 GB, free: 7.785 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001371/0.7896, allocations: 185.6 kB / 0.5687 GB, free: 7.602 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006018/0.7902, allocations: 123.3 kB / 0.5688 GB, free: 7.484 MB / 490.7 MB Notification: Performance of SimCode: time 1.19e-06/0.7902, allocations: 0 / 0.5688 GB, free: 7.484 MB / 490.7 MB Notification: Performance of Templates: time 0.05263/0.8429, allocations: 21.74 MB / 0.59 GB, free: 1.82 MB / 0.4948 GB