Running command: translateModel(OpenHPL.Tests.Fittings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Tests.Fittings") Notification: Performance of loadModel(OpenHPL): time 2.207/2.207, allocations: 256.4 MB / 268.5 MB, free: 12.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.77e-05, allocations: 8 kB / 331.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3096, allocations: 59.81 MB / 391 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.4402, allocations: 89.87 MB / 480.9 MB, free: 11.45 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.4405, allocations: 83.95 kB / 481 MB, free: 11.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07266/0.5132, allocations: 16.34 MB / 497.3 MB, free: 11 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.57e-06/0.5132, allocations: 0 / 497.3 MB, free: 11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.265e-05/0.5133, allocations: 16 kB / 497.3 MB, free: 10.98 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002271/0.5156, allocations: 0.9272 MB / 498.3 MB, free: 10 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.5156, allocations: 11.97 kB / 498.3 MB, free: 9.992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004131/0.5161, allocations: 87.14 kB / 498.4 MB, free: 9.906 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007054/0.5168, allocations: 391.2 kB / 498.7 MB, free: 9.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.484e-05/0.5169, allocations: 49.31 kB / 498.8 MB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.517, allocations: 59.91 kB / 498.8 MB, free: 9.375 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.5184, allocations: 0.5813 MB / 499.4 MB, free: 8.781 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.5185, allocations: 0 / 499.4 MB, free: 8.781 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.864e-05/0.5186, allocations: 24 kB / 499.4 MB, free: 8.758 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.5186, allocations: 19.98 kB / 499.5 MB, free: 8.738 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.5199, allocations: 0.4942 MB / 500 MB, free: 8.246 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005095/0.525, allocations: 1.875 MB / 0.4901 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.5276, allocations: 0.5946 MB / 0.4907 GB, free: 5.695 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004837/0.5282, allocations: 202.6 kB / 0.4908 GB, free: 5.492 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008787/0.537, allocations: 9.302 MB / 0.4999 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.537, allocations: 39.03 kB / 0.5 GB, free: 10.06 MB / 442.7 MB Notification: Performance of pre-optimization done (n=56): time 3.339e-06/0.537, allocations: 3.938 kB / 0.5 GB, free: 10.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.004972/0.542, allocations: 1.764 MB / 0.5017 GB, free: 8.184 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.5421, allocations: 85.05 kB / 0.5018 GB, free: 8.082 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.5428, allocations: 407.7 kB / 0.5022 GB, free: 7.672 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.5429, allocations: 37.7 kB / 0.5022 GB, free: 7.629 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.5432, allocations: 343.3 kB / 0.5025 GB, free: 7.285 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.5434, allocations: 228.7 kB / 0.5027 GB, free: 7.059 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.5435, allocations: 16 kB / 0.5028 GB, free: 7.043 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.5437, allocations: 370.8 kB / 0.5031 GB, free: 6.672 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005812/0.5443, allocations: 214 kB / 0.5033 GB, free: 6.465 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007253/0.545, allocations: 390.3 kB / 0.5037 GB, free: 6.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007417/0.5524, allocations: 1.36 MB / 0.505 GB, free: 4.621 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.5525, allocations: 0 / 0.505 GB, free: 4.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0025/0.555, allocations: 0.9097 MB / 0.5059 GB, free: 3.699 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.555, allocations: 8 kB / 0.5059 GB, free: 3.691 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.5551, allocations: 4 kB / 0.5059 GB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/0.5575, allocations: 385.3 kB / 0.5063 GB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009254/0.5585, allocations: 175.8 kB / 0.5065 GB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.5603, allocations: 1.421 MB / 0.5078 GB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/0.5609, allocations: 28 kB / 0.5079 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-05/0.561, allocations: 35.94 kB / 0.5079 GB, free: 1.598 MB / 442.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe2.M = 0.0 $DER.pipe1.M = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * 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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002398/0.5613, allocations: 156.5 kB / 0.5081 GB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.5614, allocations: 55.25 kB / 0.5081 GB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.5636, allocations: 0.7151 MB / 0.5088 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.5636, allocations: 8 kB / 0.5088 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.5637, allocations: 11.89 kB / 0.5088 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.5637, allocations: 3.984 kB / 0.5088 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003771/0.5675, allocations: 1.486 MB / 0.5103 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.336e-06/0.5675, allocations: 0 / 0.5103 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002573/0.5701, allocations: 415.8 kB / 0.5107 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008845/0.571, allocations: 161.6 kB / 0.5108 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.28e-05/0.5711, allocations: 20 kB / 0.5108 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009242/0.5803, allocations: 8.623 MB / 0.5193 GB, free: 5.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.863e-06/0.5804, allocations: 0 / 0.5193 GB, free: 5.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.583, allocations: 1.124 MB / 0.5204 GB, free: 3.879 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.5833, allocations: 136.6 kB / 0.5205 GB, free: 3.727 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.5834, allocations: 19.98 kB / 0.5205 GB, free: 3.707 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.5839, allocations: 12 kB / 0.5205 GB, free: 3.695 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.584, allocations: 51.94 kB / 0.5206 GB, free: 3.645 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/0.5841, allocations: 20 kB / 0.5206 GB, free: 3.625 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005001/0.5846, allocations: 309.5 kB / 0.5209 GB, free: 3.328 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.78e-07/0.5846, allocations: 3.938 kB / 0.5209 GB, free: 3.324 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001365/0.586, allocations: 311.8 kB / 0.5212 GB, free: 3.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (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 (52): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007235/0.5867, allocations: 276 kB / 0.5215 GB, free: 2.742 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.5886, allocations: 0.5992 MB / 0.522 GB, free: 2.148 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.762e-06/0.5886, allocations: 3.938 kB / 0.522 GB, free: 2.145 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.5905, allocations: 0.6114 MB / 0.5226 GB, free: 1.508 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008483/0.5913, allocations: 106.1 kB / 0.5227 GB, free: 1.398 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.594, allocations: 1.152 MB / 0.5239 GB, free: 212 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2618/0.8558, allocations: 0.9181 MB / 0.5248 GB, free: 128.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007168/0.8566, allocations: 88.89 kB / 0.5248 GB, free: 128.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.8569, allocations: 64.53 kB / 0.5249 GB, free: 128.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.397e-06/0.8569, allocations: 0.625 kB / 0.5249 GB, free: 128.4 MB / 458.7 MB Notification: Performance of Templates: time 0.02532/0.8823, allocations: 11.15 MB / 0.5358 GB, free: 127.7 MB / 458.7 MB