Failed
tests / 03 testsuite-gcc 3/3 / simulation_modelica_nonlinear_system.bug_2841.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ bug_2841 ... equation mismatch [time: 4] ==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/nonlinear_system/bug_2841.mos_temp5584/log-bug_2841.mos true "" record SimulationResult resultFile = "nonlinearSolverTests.bug_2841_res.mat", simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'nonlinearSolverTests.bug_2841', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_INIT_V,LOG_NLS_V'", messages = "LOG_NLS | info | initialize non-linear system solvers | | | | | 2 non-linear systems LOG_INIT | info | ### START INITIALIZATION ### LOG_INIT | info | updating min-values LOG_INIT | info | updating max-values LOG_INIT | info | updating nominal-values LOG_INIT_V | info | y(nominal=1e-05) LOG_INIT_V | info | x(nominal=100000) LOG_INIT | info | updating primary start-values LOG_INIT_V | info | updated start value: y(start=5e-06) LOG_INIT_V | info | updated start value: x(start=50000) LOG_NLS | info | update static data of non-linear system solvers LOG_INIT | info | initialization method: symbolic [solves the initialization problem symbolically - default] LOG_INIT_HOMOTOPY | info | Model contains homotopy operator: Use adaptive homotopy method to solve initialization problem. To disable initialization with homotopy operator use \"-noHomotopyOnFirstTry\". LOG_NLS | info | ############ Solve nonlinear system 3 at time 0 ############ | | | | | initial variable values: | | | | | | [ 1] y = 5e-06 nom = 1e-05 | | | | | | [ 2] x = 50000 nom = 100000 LOG_NLS_V | info | Start solving Non-Linear System 3 (size 2) at time 0 with Mixed (Newton/Homotopy) Solver | | | | | System values [2-dim] | | | | | | 5e-06 50000 | | | | | Nominal values [2-dim] | | | | | | 1e-05 100000 | | | | | Scaling values [3-dim] | | | | | | 1e-05 100000 1 | | | | | x0 [2-dim] | | | | | | 5e-06 50000 | | | | | indRow: [2-dim] | | | | | | 0 1 | | | | | indCol: [3-dim] | | | | | | 0 1 2 | | | | | vector x (solution): [3-dim] | | | | | | -0.51368657 -2.5496445 1 | | | | | regular initial point!!! | | | | | ****************************************************** | | | | | NEWTON SOLVER STARTED! equation number: 3 | | | | | maximum number of function evaluation: 200 | | | | | nls status | | | | | | variables | | | | | | [ 1] y = 5e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308 | | | | | | [ 2] x = 50000 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308 | | | | | Iteration: 1 | | | | | newton step | | | | | | variables | | | | | | [ 1] y = -1.3686573e-07 step = -5.1368657e-06 old = 5e-06 | | | | | | [ 2] x = -204964.45 step = -254964.45 old = 50000 | | | | | Need to damp, grad_f = -4.3608668960e+00 | | | | | Need to damp, error_f = 1.4766290827e+00 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 | | | | | Need to damp, error_f1 = 1.4854622284e+00 | | | | | Need to damp, forced error = 1.7443467584e+00 | | | | | function values: [2-dim] | | | | | | -1.1048335 0.99294562 | | | | | scaled function values: [2-dim] | | | | | | -0.55011835 1.2754981 | | | | | error measurements: | | | | | delta_x = 2.5496445046e+05 | | | | | delta_x_scaled = 2.6008769666e+00 | | | | | newtonXTol = 1.0000000000e-12 | | | | | error_f = 1.4854622284e+00 | | | | | error_f_scaled = 1.3890736407e+00 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 2 | | | | | newton step | | | | | | variables | | | | | | [ 1] y = 1.0969562e-06 step = 1.2338219e-06 old = -1.3686573e-07 | | | | | | [ 2] x = -46202.294 step = 158762.16 old = -204964.45 | | | | | Need to damp, grad_f = -4.4131960643e+00 | | | | | Need to damp, error_f = 1.4854622284e+00 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 | | | | | Need to damp, error_f1 = 9.5566568896e-01 | | | | | Need to damp, forced error = 1.7652784257e+00 | | | | | function values: [2-dim] | | | | | | -0.80569522 -0.51395732 | | | | | scaled function values: [2-dim] | | | | | | -0.10449393 -0.10161446 | | | | | error measurements: | | | | | delta_x = 1.5876215604e+05 | | | | | delta_x_scaled = 1.5924086736e+00 | | | | | newtonXTol = 1.0000000000e-12 | | | | | error_f = 9.5566568896e-01 | | | | | error_f_scaled = 1.4575486390e-01 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 3 | | | | | newton step | | | | | | variables | | | | | | [ 1] y = 4.7870257e-06 step = 3.6900696e-06 old = 1.0969562e-06 | | | | | | [ 2] x = -85192.834 step = -38990.539 old = -46202.294 | | | | | Need to damp, grad_f = -1.8265938181e+00 | | | | | Need to damp, error_f = 9.5566568896e-01 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 | | | | | Need to damp, error_f1 = 8.5840089263e-01 | | | | | Need to damp, forced error = 7.3063752724e-01 | | | | | Need to damp this!! lambda2 = 5.5346329829e-01 | | | | | Need to damp, error_f2 = 2.2289306822e-01 | | | | | function values: [2-dim] | | | | | | -0.15366901 -0.16145326 | | | | | scaled function values: [2-dim] | | | | | | -0.07073664 -0.12137391 | | | | | error measurements: | | | | | delta_x = 3.8990539387e+04 | | | | | delta_x_scaled = 5.3683549774e-01 | | | | | newtonXTol = 1.0000000000e-12 | | | | | error_f = 2.2289306822e-01 | | | | | error_f_scaled = 1.4048237693e-01 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 4 | | | | | newton step | | | | | | variables | | | | | | [ 1] y = 3.3323648e-06 step = 1.9309055e-07 old = 3.1392742e-06 | | | | | | [ 2] x = -77809.927 step = -10027.8 old = -67782.127 | | | | | Need to damp, grad_f = -9.9362639717e-02 | | | | | Need to damp, error_f = 2.2289306822e-01 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 | | | | | Need to damp, error_f1 = 1.5082964350e-02 | | | | | Need to damp, forced error = 3.9745055887e-02 | | | | | function values: [2-dim] | | | | | | 0.012510472 0.0084251948 | | | | | scaled function values: [2-dim] | | | | | | 0.0028371899 0.0040700756 | | | | | error measurements: | | | | | delta_x = 1.0027800393e+04 | | | | | delta_x_scaled = 1.0212011404e-01 | | | | | newtonXTol = 1.0000000000e-12 | | | | | error_f = 1.5082964350e-02 | | | | | error_f_scaled = 4.9613669265e-03 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 5 | | | | | newton step | | | | | | variables | | | | | | [ 1] y = 3.3120569e-06 step = -2.0307914e-08 old = 3.3323648e-06 | | | | | | [ 2] x = -77391.584 step = 418.34288 old = -77809.927 | | | | | Need to damp, grad_f = -4.5499162718e-04 | | | | | Need to damp, error_f = 1.5082964350e-02 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 | | | | | Need to damp, error_f1 = 1.1093963597e-04 | | | | | Need to damp, forced error = 1.8199665087e-04 | | | | | function values: [2-dim] | | | | | | 0.00010585798 3.3191743e-05 | | | | | scaled function values: [2-dim] | | | | | | 2.0808969e-05 1.3722697e-05 | | | | | error measurements: | | | | | delta_x = 4.1834287807e+02 | | | | | delta_x_scaled = 4.6502892440e-03 | | | | | newtonXTol = 1.0000000000e-12 | | | | | error_f = 1.1093963597e-04 | | | | | error_f_scaled = 2.4926404143e-05 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 6 | | | | | newton step | | | | | | variables | | | | | | [ 1] y = 3.3118173e-06 step = -2.3956537e-10 old = 3.3120569e-06 | | | | | | [ 2] x = -77390.685 step = 0.89953076 old = -77391.584 | | | | | Need to damp, grad_f = -2.4615205660e-08 | | | | | Need to damp, error_f = 1.1093963597e-04 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 | | | | | Need to damp, error_f1 = 5.6869396632e-07 | | | | | Need to damp, forced error = 9.8460822641e-09 | | | | | function values: [2-dim] | | | | | | 5.666143e-07 4.8590747e-08 | | | | | scaled function values: [2-dim] | | | | | | 1.1234918e-07 2.0251795e-08 | | | | | error measurements: | | | | | delta_x = 8.9953076106e-01 | | | | | delta_x_scaled = 2.5589670622e-05 | | | | | newtonXTol = 1.0000000000e-12 | | | | | error_f = 5.6869396632e-07 | | | | | error_f_scaled = 1.1415986017e-07 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 7 | | | | | newton step | | | | | | variables | | | | | | [ 1] y = 3.3118158e-06 step = -1.5053975e-12 old = 3.3118173e-06 | | | | | | [ 2] x = -77390.689 step = -0.0042021077 old = -77390.685 | | | | | Need to damp, grad_f = -6.4682565466e-13 | | | | | Need to damp, error_f = 5.6869396632e-07 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 | | | | | Need to damp, error_f1 = 3.5548053521e-09 | | | | | Need to damp, forced error = 2.5873026187e-13 | | | | | function values: [2-dim] | | | | | | 3.5420444e-09 3.0093572e-10 | | | | | scaled function values: [2-dim] | | | | | | 7.0236551e-10 1.2542997e-10 | | | | | error measurements: | | | | | delta_x = 4.2021076978e-03 | | | | | delta_x_scaled = 1.5629455706e-07 | | | | | newtonXTol = 1.0000000000e-12 | | | | | error_f = 3.5548053521e-09 | | | | | error_f_scaled = 7.1347738732e-10 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 8 | | | | | newton step | | | | | | variables | | | | | | [ 1] y = 3.3118158e-06 step = -9.4154774e-15 old = 3.3118158e-06 | | | | | | [ 2] x = -77390.689 step = -2.6465209e-05 old = -77390.689 | | | | | Need to damp, grad_f = -2.5273282183e-17 | | | | | Need to damp, error_f = 3.5548053521e-09 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 | | | | | Need to damp, error_f1 = 2.2233191658e-11 | | | | | Need to damp, forced error = 1.0109312873e-17 | | | | | function values: [2-dim] | | | | | | 2.215339e-11 1.8820501e-12 | | | | | scaled function values: [2-dim] | | | | | | 4.3928815e-12 7.8443834e-13 | | | | | error measurements: | | | | | delta_x = 2.6465209122e-05 | | | | | delta_x_scaled = 9.7803521153e-10 | | | | | newtonXTol = 1.0000000000e-12 | | | | | error_f = 2.2233191658e-11 | | | | | error_f_scaled = 4.4623706496e-12 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 9 | | | | | newton step | | | | | | variables | | | | | | [ 1] y = 3.3118158e-06 step = -5.888845e-17 old = 3.3118158e-06 | | | | | | [ 2] x = -77390.689 step = -1.6553292e-07 old = -77390.689 | | | | | Need to damp, grad_f = -9.8862962261e-22 | | | | | Need to damp, error_f = 2.2233191658e-11 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 | | | | | Need to damp, error_f1 = 1.3905471363e-13 | | | | | Need to damp, forced error = 3.9545184904e-22 | | | | | function values: [2-dim] | | | | | | 1.3855583e-13 1.1768364e-14 | | | | | scaled function values: [2-dim] | | | | | | 2.7474773e-14 4.9050534e-15 | | | | | error measurements: | | | | | delta_x = 1.6553291855e-07 | | | | | delta_x_scaled = 6.1170753347e-12 | | | | | newtonXTol = 1.0000000000e-12 | | | | | error_f = 1.3905471363e-13 | | | | | error_f_scaled = 2.7909186558e-14 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 10 | | | | | newton step | | | | | | variables | | | | | | [ 1] y = 3.3118158e-06 step = -3.6831571e-19 old = 3.3118158e-06 | | | | | | [ 2] x = -77390.689 step = -1.0354954e-09 old = -77390.689 | | | | | Need to damp, grad_f = -3.8672426764e-26 | | | | | Need to damp, error_f = 1.3905471363e-13 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 | | | | | Need to damp, error_f1 = 9.1551335970e-16 | | | | | Need to damp, forced error = 1.5468970706e-26 | | | | | function values: [2-dim] | | | | | | 8.8817842e-16 2.220446e-16 | | | | | scaled function values: [2-dim] | | | | | | 1.7612034e-16 9.2548176e-17 | | | | | error measurements: | | | | | delta_x = 1.0354953671e-09 | | | | | delta_x_scaled = 3.8259504993e-14 | | | | | newtonXTol = 1.0000000000e-12 | | | | | error_f = 9.1551335970e-16 | | | | | error_f_scaled = 1.9895612277e-16 | | | | | newtonFTol = 1.0000000000e-12 LOG_NLS | info | | Solution status: SOLVED | | | | | | number of iterations : 10 | | | | | | number of function evaluations : 32 | | | | | | number of jacobian evaluations : 10 | | | | | | solution values: | | | | | | [ 1] y = 3.3118158e-06 | | | | | | [ 2] x = -77390.689 LOG_INIT_V | info | parameter values | | | | | real parameters | | | | | | [1] parameter Real xn(start=100000, fixed=true) = 100000 | | | | | | [2] parameter Real yn(start=1e-05, fixed=true) = 1e-05 LOG_SOTI | info | ### SOLUTION OF THE INITIALIZATION ### | | | | | other real variables | | | | | | [1] Real $cse3(start=0, nominal=1) = 0 (pre: 0) | | | | | | [2] Real $cse4(start=0, nominal=1) = 0 (pre: 0) | | | | | | [3] Real x(start=50000, nominal=100000) = -77390.7 (pre: 50000) | | | | | | [4] Real y(start=5e-06, nominal=1e-05) = 3.31182e-06 (pre: 5e-06) LOG_INIT | info | ### END INITIALIZATION ### LOG_NLS | info | ############ Solve nonlinear system 8 at time 0 ############ | | | | | initial variable values: | | | | | | [ 1] x = -77390.689 nom = 100000 | | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 LOG_NLS_V | info | Start solving Non-Linear System 8 (size 2) at time 0 with Mixed (Newton/Homotopy) Solver | | | | | System values [2-dim] | | | | | | -77390.689 3.3118158e-06 | | | | | Nominal values [2-dim] | | | | | | 100000 1e-05 | | | | | Scaling values [3-dim] | | | | | | 100000 1e-05 1 | | | | | x0 [2-dim] | | | | | | -77390.689 3.3118158e-06 | | | | | indRow: [2-dim] | | | | | | 0 1 | | | | | indCol: [3-dim] | | | | | | 1 0 2 | | | | | vector x (solution): [3-dim] | | | | | | 3.6042743e-17 -2.1076711e-16 1 | | | | | regular initial point!!! | | | | | ****************************************************** | | | | | NEWTON SOLVER STARTED! equation number: 8 | | | | | maximum number of function evaluation: 200 | | | | | nls status | | | | | | variables | | | | | | [ 1] x = -77390.689 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308 | | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308 | | | | | Iteration: 1 | | | | | newton step | | | | | | variables | | | | | | [ 1] x = -77390.689 step = 3.6042743e-12 old = -77390.689 | | | | | | [ 2] y = 3.3118158e-06 step = -2.1076711e-21 old = 3.3118158e-06 | | | | | Need to damp, grad_f = -1.6763294236e-30 | | | | | Need to damp, error_f = 9.1551335970e-16 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 | | | | | Need to damp, error_f1 = 1.5700924587e-16 | | | | | Need to damp, forced error = 6.7053176944e-31 | | | | | function values: [2-dim] | | | | | | -1.110223e-16 -1.110223e-16 | | | | | scaled function values: [2-dim] | | | | | | -2.2015042e-17 -4.6274088e-17 | | | | | error measurements: | | | | | delta_x = 3.6042742879e-12 | | | | | delta_x_scaled = 2.1382669093e-16 | | | | | newtonXTol = 1.0000000000e-12 | | | | | error_f = 1.5700924587e-16 | | | | | error_f_scaled = 5.1244056530e-17 | | | | | newtonFTol = 1.0000000000e-12 LOG_NLS | info | | Solution status: SOLVED | | | | | | number of iterations : 1 | | | | | | number of function evaluations : 4 | | | | | | number of jacobian evaluations : 1 | | | | | | solution values: | | | | | | [ 1] x = -77390.689 | | | | | | [ 2] y = 3.3118158e-06 LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_NLS | info | ############ Solve nonlinear system 8 at time 0 ############ | | | | | initial variable values: | | | | | | [ 1] x = -77390.689 nom = 100000 | | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 LOG_NLS_V | info | Start solving Non-Linear System 8 (size 2) at time 0 with Mixed (Newton/Homotopy) Solver | | | | | System values [2-dim] | | | | | | -77390.689 3.3118158e-06 | | | | | Nominal values [2-dim] | | | | | | 100000 1e-05 | | | | | Scaling values [3-dim] | | | | | | 100000 1e-05 1 | | | | | x0 [2-dim] | | | | | | -77390.689 3.3118158e-06 | | | | | indRow: [2-dim] | | | | | | 0 1 | | | | | indCol: [3-dim] | | | | | | 1 0 2 | | | | | vector x (solution): [3-dim] | | | | | | -6.2676295e-17 1.1957895e-17 1 | | | | | regular initial point!!! | | | | | ****************************************************** | | | | | NEWTON SOLVER STARTED! equation number: 8 | | | | | maximum number of function evaluation: 200 | | | | | nls status | | | | | | variables | | | | | | [ 1] x = -77390.689 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308 | | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308 | | | | | Iteration: 1 | | | | | newton step | | | | | | variables | | | | | | [ 1] x = -77390.689 step = -6.2676295e-12 old = -77390.689 | | | | | | [ 2] y = 3.3118158e-06 step = 1.1957895e-22 old = 3.3118158e-06 | | | | | Need to damp, grad_f = -4.9303806576e-32 | | | | | Need to damp, error_f = 1.5700924587e-16 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 | | | | | Need to damp, error_f1 = 1.5700924587e-16 | | | | | Need to damp, forced error = 1.9721522631e-32 | | | | | function values: [2-dim] | | | | | | -1.110223e-16 -1.110223e-16 | | | | | scaled function values: [2-dim] | | | | | | -2.2015042e-17 -4.6274088e-17 | | | | | error measurements: | | | | | delta_x = 6.2676295255e-12 | | | | | delta_x_scaled = 6.3806811777e-17 | | | | | newtonXTol = 1.0000000000e-12 | | | | | error_f = 1.5700924587e-16 | | | | | error_f_scaled = 5.1244056609e-17 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Note: newton solver rejected last x because previous was as good LOG_NLS | info | | Solution status: SOLVED | | | | | | number of iterations : 2 | | | | | | number of function evaluations : 8 | | | | | | number of jacobian evaluations : 2 | | | | | | solution values: | | | | | | [ 1] x = -77390.689 | | | | | | [ 2] y = 3.3118158e-06 LOG_SUCCESS | info | The simulation finished successfully. LOG_NLS | info | free non-linear system solvers " end SimulationResult; "[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSparsePattern failed " Equation mismatch: diff says: --- /tmp/omc-rtest-omtmpuser/simulation/modelica/nonlinear_system/bug_2841.mos_temp5584/equations-expected2024-05-04 02:09:39.195871424 +0000 +++ /tmp/omc-rtest-omtmpuser/simulation/modelica/nonlinear_system/bug_2841.mos_temp5584/equations-got2024-05-04 02:09:43.883855601 +0000 @@ -15,15 +15,15 @@ LOG_INIT_V | info | updated start value: y(start=5e-06) LOG_INIT_V | info | updated start value: x(start=50000) LOG_NLS | info | update static data of non-linear system solvers LOG_INIT | info | initialization method: symbolic [solves the initialization problem symbolically - default] LOG_INIT_HOMOTOPY | info | Model contains homotopy operator: Use adaptive homotopy method to solve initialization problem. To disable initialization with homotopy operator use \"-noHomotopyOnFirstTry\". -LOG_NLS | info | ############ Solve nonlinear system 7 at time 0 ############ +LOG_NLS | info | ############ Solve nonlinear system 3 at time 0 ############ | | | | | initial variable values: | | | | | | [ 1] y = 5e-06 nom = 1e-05 | | | | | | [ 2] x = 50000 nom = 100000 -LOG_NLS_V | info | Start solving Non-Linear System 7 (size 2) at time 0 with Mixed (Newton/Homotopy) Solver +LOG_NLS_V | info | Start solving Non-Linear System 3 (size 2) at time 0 with Mixed (Newton/Homotopy) Solver | | | | | System values [2-dim] | | | | | | 5e-06 50000 | | | | | Nominal values [2-dim] | | | | | | 1e-05 100000 | | | | | Scaling values [3-dim] @@ -33,194 +33,235 @@ | | | | | indRow: [2-dim] | | | | | | 0 1 | | | | | indCol: [3-dim] | | | | | | 0 1 2 | | | | | vector x (solution): [3-dim] -| | | | | | -0.51701271 -2.5510381 1 +| | | | | | -0.51368657 -2.5496445 1 | | | | | regular initial point!!! | | | | | ****************************************************** -| | | | | NEWTON SOLVER STARTED! equation number: 7 +| | | | | NEWTON SOLVER STARTED! equation number: 3 | | | | | maximum number of function evaluation: 200 | | | | | nls status | | | | | | variables | | | | | | [ 1] y = 5e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308 | | | | | | [ 2] x = 50000 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308 | | | | | Iteration: 1 | | | | | newton step | | | | | | variables -| | | | | | [ 1] y = -1.7012708e-07 step = -5.1701271e-06 old = 5e-06 -| | | | | | [ 2] x = -205103.81 step = -255103.81 old = 50000 +| | | | | | [ 1] y = -1.3686573e-07 step = -5.1368657e-06 old = 5e-06 +| | | | | | [ 2] x = -204964.45 step = -254964.45 old = 50000 | | | | | Need to damp, grad_f = -4.3608668960e+00 | | | | | Need to damp, error_f = 1.4766290827e+00 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 -| | | | | Need to damp, error_f1 = 1.4962663898e+00 +| | | | | Need to damp, error_f1 = 1.4854622284e+00 | | | | | Need to damp, forced error = 1.7443467584e+00 | | | | | function values: [2-dim] -| | | | | | -1.1300587 0.98070403 +| | | | | | -1.1048335 0.99294562 | | | | | scaled function values: [2-dim] -| | | | | | -0.56502936 1.2592489 +| | | | | | -0.55011835 1.2754981 | | | | | error measurements: -| | | | | delta_x = 2.5510381250e+05 -| | | | | delta_x_scaled = 2.6029017761e+00 +| | | | | delta_x = 2.5496445046e+05 +| | | | | delta_x_scaled = 2.6008769666e+00 | | | | | newtonXTol = 1.0000000000e-12 -| | | | | error_f = 1.4962663898e+00 -| | | | | error_f_scaled = 1.3802050509e+00 +| | | | | error_f = 1.4854622284e+00 +| | | | | error_f_scaled = 1.3890736407e+00 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 2 | | | | | newton step | | | | | | variables -| | | | | | [ 1] y = 1.0588367e-06 step = 1.2289638e-06 old = -1.7012708e-07 -| | | | | | [ 2] x = -46310.553 step = 158793.26 old = -205103.81 -| | | | | Need to damp, grad_f = -4.4776262184e+00 -| | | | | Need to damp, error_f = 1.4962663898e+00 +| | | | | | [ 1] y = 1.0969562e-06 step = 1.2338219e-06 old = -1.3686573e-07 +| | | | | | [ 2] x = -46202.294 step = 158762.16 old = -204964.45 +| | | | | Need to damp, grad_f = -4.4131960643e+00 +| | | | | Need to damp, error_f = 1.4854622284e+00 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 -| | | | | Need to damp, error_f1 = 9.6161691115e-01 -| | | | | Need to damp, forced error = 1.7910504874e+00 +| | | | | Need to damp, error_f1 = 9.5566568896e-01 +| | | | | Need to damp, forced error = 1.7652784257e+00 | | | | | function values: [2-dim] -| | | | | | -0.81295855 -0.51361997 +| | | | | | -0.80569522 -0.51395732 | | | | | scaled function values: [2-dim] -| | | | | | -0.1063414 -0.1028369 +| | | | | | -0.10449393 -0.10161446 | | | | | error measurements: -| | | | | delta_x = 1.5879325945e+05 -| | | | | delta_x_scaled = 1.5926812124e+00 +| | | | | delta_x = 1.5876215604e+05 +| | | | | delta_x_scaled = 1.5924086736e+00 | | | | | newtonXTol = 1.0000000000e-12 -| | | | | error_f = 9.6161691115e-01 -| | | | | error_f_scaled = 1.4793215481e-01 +| | | | | error_f = 9.5566568896e-01 +| | | | | error_f_scaled = 1.4575486390e-01 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 3 | | | | | newton step | | | | | | variables -| | | | | | [ 1] y = 4.8481624e-06 step = 3.7893257e-06 old = 1.0588367e-06 -| | | | | | [ 2] x = -85181.842 step = -38871.289 old = -46310.553 -| | | | | Need to damp, grad_f = -1.8494141676e+00 -| | | | | Need to damp, error_f = 9.6161691115e-01 +| | | | | | [ 1] y = 4.7870257e-06 step = 3.6900696e-06 old = 1.0969562e-06 +| | | | | | [ 2] x = -85192.834 step = -38990.539 old = -46202.294 +| | | | | Need to damp, grad_f = -1.8265938181e+00 +| | | | | Need to damp, error_f = 9.5566568896e-01 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 -| | | | | Need to damp, error_f1 = 8.9282194723e-01 -| | | | | Need to damp, forced error = 7.3976566705e-01 -| | | | | Need to damp this!! lambda2 = 5.3704647184e-01 -| | | | | Need to damp, error_f2 = 2.4573839117e-01 +| | | | | Need to damp, error_f1 = 8.5840089263e-01 +| | | | | Need to damp, forced error = 7.3063752724e-01 +| | | | | Need to damp this!! lambda2 = 5.5346329829e-01 +| | | | | Need to damp, error_f2 = 2.2289306822e-01 | | | | | function values: [2-dim] -| | | | | | -0.17461754 -0.17290481 +| | | | | | -0.15366901 -0.16145326 | | | | | scaled function values: [2-dim] -| | | | | | -0.081575501 -0.13029728 +| | | | | | -0.07073664 -0.12137391 | | | | | error measurements: -| | | | | delta_x = 3.8871288659e+04 -| | | | | delta_x_scaled = 5.4285136346e-01 +| | | | | delta_x = 3.8990539387e+04 +| | | | | delta_x_scaled = 5.3683549774e-01 | | | | | newtonXTol = 1.0000000000e-12 -| | | | | error_f = 2.4573839117e-01 -| | | | | error_f_scaled = 1.5372684717e-01 +| | | | | error_f = 2.2289306822e-01 +| | | | | error_f_scaled = 1.4048237693e-01 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 4 | | | | | newton step | | | | | | variables -| | | | | | [ 1] y = 3.3408112e-06 step = 2.4693046e-07 old = 3.0938807e-06 -| | | | | | [ 2] x = -77891.638 step = -10705.397 old = -67186.241 -| | | | | Need to damp, grad_f = -1.2077471379e-01 -| | | | | Need to damp, error_f = 2.4573839117e-01 +| | | | | | [ 1] y = 3.3323648e-06 step = 1.9309055e-07 old = 3.1392742e-06 +| | | | | | [ 2] x = -77809.927 step = -10027.8 old = -67782.127 +| | | | | Need to damp, grad_f = -9.9362639717e-02 +| | | | | Need to damp, error_f = 2.2289306822e-01 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 -| | | | | Need to damp, error_f1 = 1.9741282299e-02 -| | | | | Need to damp, forced error = 4.8309885515e-02 +| | | | | Need to damp, error_f1 = 1.5082964350e-02 +| | | | | Need to damp, forced error = 3.9745055887e-02 | | | | | function values: [2-dim] -| | | | | | 0.01676503 0.010423627 +| | | | | | 0.012510472 0.0084251948 | | | | | scaled function values: [2-dim] -| | | | | | 0.0038820924 0.0051030272 +| | | | | | 0.0028371899 0.0040700756 | | | | | error measurements: -| | | | | delta_x = 1.0705396718e+04 -| | | | | delta_x_scaled = 1.0986490978e-01 +| | | | | delta_x = 1.0027800393e+04 +| | | | | delta_x_scaled = 1.0212011404e-01 | | | | | newtonXTol = 1.0000000000e-12 -| | | | | error_f = 1.9741282299e-02 -| | | | | error_f_scaled = 6.4118271551e-03 +| | | | | error_f = 1.5082964350e-02 +| | | | | error_f_scaled = 4.9613669265e-03 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 5 | | | | | newton step | | | | | | variables -| | | | | | [ 1] y = 3.312016e-06 step = -2.8795153e-08 old = 3.3408112e-06 -| | | | | | [ 2] x = -77392.651 step = 498.98725 old = -77891.638 -| | | | | Need to damp, grad_f = -7.7943645363e-04 -| | | | | Need to damp, error_f = 1.9741282299e-02 +| | | | | | [ 1] y = 3.3120569e-06 step = -2.0307914e-08 old = 3.3323648e-06 +| | | | | | [ 2] x = -77391.584 step = 418.34288 old = -77809.927 +| | | | | Need to damp, grad_f = -4.5499162718e-04 +| | | | | Need to damp, error_f = 1.5082964350e-02 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 -| | | | | Need to damp, error_f1 = 1.1072572859e-04 -| | | | | Need to damp, forced error = 3.1177458145e-04 +| | | | | Need to damp, error_f1 = 1.1093963597e-04 +| | | | | Need to damp, forced error = 1.8199665087e-04 | | | | | function values: [2-dim] -| | | | | | 0.00010009472 4.7341682e-05 +| | | | | | 0.00010585798 3.3191743e-05 | | | | | scaled function values: [2-dim] -| | | | | | 1.9715336e-05 1.9548009e-05 +| | | | | | 2.0808969e-05 1.3722697e-05 | | | | | error measurements: -| | | | | delta_x = 4.9898724582e+02 -| | | | | delta_x_scaled = 5.7611141106e-03 +| | | | | delta_x = 4.1834287807e+02 +| | | | | delta_x_scaled = 4.6502892440e-03 | | | | | newtonXTol = 1.0000000000e-12 -| | | | | error_f = 1.1072572859e-04 -| | | | | error_f_scaled = 2.7763630140e-05 +| | | | | error_f = 1.1093963597e-04 +| | | | | error_f_scaled = 2.4926404143e-05 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 6 | | | | | newton step | | | | | | variables -| | | | | | [ 1] y = 3.3118158e-06 step = -2.0020165e-10 old = 3.312016e-06 -| | | | | | [ 2] x = -77390.689 step = 1.9617465 old = -77392.651 -| | | | | Need to damp, grad_f = -2.4520373942e-08 -| | | | | Need to damp, error_f = 1.1072572859e-04 +| | | | | | [ 1] y = 3.3118173e-06 step = -2.3956537e-10 old = 3.3120569e-06 +| | | | | | [ 2] x = -77390.685 step = 0.89953076 old = -77391.584 +| | | | | Need to damp, grad_f = -2.4615205660e-08 +| | | | | Need to damp, error_f = 1.1093963597e-04 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 -| | | | | Need to damp, error_f1 = 3.3977700044e-09 -| | | | | Need to damp, forced error = 9.8081495766e-09 +| | | | | Need to damp, error_f1 = 5.6869396632e-07 +| | | | | Need to damp, forced error = 9.8460822641e-09 | | | | | function values: [2-dim] -| | | | | | 3.1818099e-09 1.1920263e-09 +| | | | | | 5.666143e-07 4.8590747e-08 | | | | | scaled function values: [2-dim] -| | | | | | 6.3385048e-10 4.9722581e-10 +| | | | | | 1.1234918e-07 2.0251795e-08 | | | | | error measurements: -| | | | | delta_x = 1.9617464993e+00 -| | | | | delta_x_scaled = 2.8029483704e-05 +| | | | | delta_x = 8.9953076106e-01 +| | | | | delta_x_scaled = 2.5589670622e-05 | | | | | newtonXTol = 1.0000000000e-12 -| | | | | error_f = 3.3977700044e-09 -| | | | | error_f_scaled = 8.0560532423e-10 +| | | | | error_f = 5.6869396632e-07 +| | | | | error_f_scaled = 1.1415986017e-07 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 7 | | | | | newton step | | | | | | variables -| | | | | | [ 1] y = 3.3118158e-06 step = -6.9084721e-15 old = 3.3118158e-06 -| | | | | | [ 2] x = -77390.689 step = 4.0495536e-05 old = -77390.689 -| | | | | Need to damp, grad_f = -2.3089682006e-17 -| | | | | Need to damp, error_f = 3.3977700044e-09 +| | | | | | [ 1] y = 3.3118158e-06 step = -1.5053975e-12 old = 3.3118173e-06 +| | | | | | [ 2] x = -77390.689 step = -0.0042021077 old = -77390.685 +| | | | | Need to damp, grad_f = -6.4682565466e-13 +| | | | | Need to damp, error_f = 5.6869396632e-07 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 -| | | | | Need to damp, error_f1 = 2.2204460493e-16 -| | | | | Need to damp, forced error = 9.2358728024e-18 +| | | | | Need to damp, error_f1 = 3.5548053521e-09 +| | | | | Need to damp, forced error = 2.5873026187e-13 | | | | | function values: [2-dim] -| | | | | | -2.220446e-16 0 +| | | | | | 3.5420444e-09 3.0093572e-10 | | | | | scaled function values: [2-dim] -| | | | | | -4.4236473e-17 0 +| | | | | | 7.0236551e-10 1.2542997e-10 | | | | | error measurements: -| | | | | delta_x = 4.0495535620e-05 -| | | | | delta_x_scaled = 8.0078630793e-10 +| | | | | delta_x = 4.2021076978e-03 +| | | | | delta_x_scaled = 1.5629455706e-07 | | | | | newtonXTol = 1.0000000000e-12 -| | | | | error_f = 2.2204460493e-16 -| | | | | error_f_scaled = 4.4236472988e-17 +| | | | | error_f = 3.5548053521e-09 +| | | | | error_f_scaled = 7.1347738732e-10 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Iteration: 8 | | | | | newton step | | | | | | variables -| | | | | | [ 1] y = 3.3118158e-06 step = 6.2675771e-22 old = 3.3118158e-06 -| | | | | | [ 2] x = -77390.689 step = 2.9880129e-12 old = -77390.689 -| | | | | Need to damp, grad_f = -9.8607613153e-32 -| | | | | Need to damp, error_f = 2.2204460493e-16 +| | | | | | [ 1] y = 3.3118158e-06 step = -9.4154774e-15 old = 3.3118158e-06 +| | | | | | [ 2] x = -77390.689 step = -2.6465209e-05 old = -77390.689 +| | | | | Need to damp, grad_f = -2.5273282183e-17 +| | | | | Need to damp, error_f = 3.5548053521e-09 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 -| | | | | Need to damp, error_f1 = 2.2204460493e-16 -| | | | | Need to damp, forced error = 3.9443045261e-32 +| | | | | Need to damp, error_f1 = 2.2233191658e-11 +| | | | | Need to damp, forced error = 1.0109312873e-17 | | | | | function values: [2-dim] -| | | | | | 2.220446e-16 0 +| | | | | | 2.215339e-11 1.8820501e-12 | | | | | scaled function values: [2-dim] -| | | | | | 4.4236473e-17 0 +| | | | | | 4.3928815e-12 7.8443834e-13 | | | | | error measurements: -| | | | | delta_x = 2.9880129153e-12 -| | | | | delta_x_scaled = 6.9433956834e-17 +| | | | | delta_x = 2.6465209122e-05 +| | | | | delta_x_scaled = 9.7803521153e-10 | | | | | newtonXTol = 1.0000000000e-12 -| | | | | error_f = 2.2204460493e-16 -| | | | | error_f_scaled = 4.4236473073e-17 +| | | | | error_f = 2.2233191658e-11 +| | | | | error_f_scaled = 4.4623706496e-12 +| | | | | newtonFTol = 1.0000000000e-12 +| | | | | Iteration: 9 +| | | | | newton step +| | | | | | variables +| | | | | | [ 1] y = 3.3118158e-06 step = -5.888845e-17 old = 3.3118158e-06 +| | | | | | [ 2] x = -77390.689 step = -1.6553292e-07 old = -77390.689 +| | | | | Need to damp, grad_f = -9.8862962261e-22 +| | | | | Need to damp, error_f = 2.2233191658e-11 +| | | | | Need to damp this!! lambda1 = 1.0000000000e+00 +| | | | | Need to damp, error_f1 = 1.3905471363e-13 +| | | | | Need to damp, forced error = 3.9545184904e-22 +| | | | | function values: [2-dim] +| | | | | | 1.3855583e-13 1.1768364e-14 +| | | | | scaled function values: [2-dim] +| | | | | | 2.7474773e-14 4.9050534e-15 +| | | | | error measurements: +| | | | | delta_x = 1.6553291855e-07 +| | | | | delta_x_scaled = 6.1170753347e-12 +| | | | | newtonXTol = 1.0000000000e-12 +| | | | | error_f = 1.3905471363e-13 +| | | | | error_f_scaled = 2.7909186558e-14 +| | | | | newtonFTol = 1.0000000000e-12 +| | | | | Iteration: 10 +| | | | | newton step +| | | | | | variables +| | | | | | [ 1] y = 3.3118158e-06 step = -3.6831571e-19 old = 3.3118158e-06 +| | | | | | [ 2] x = -77390.689 step = -1.0354954e-09 old = -77390.689 +| | | | | Need to damp, grad_f = -3.8672426764e-26 +| | | | | Need to damp, error_f = 1.3905471363e-13 +| | | | | Need to damp this!! lambda1 = 1.0000000000e+00 +| | | | | Need to damp, error_f1 = 9.1551335970e-16 +| | | | | Need to damp, forced error = 1.5468970706e-26 +| | | | | function values: [2-dim] +| | | | | | 8.8817842e-16 2.220446e-16 +| | | | | scaled function values: [2-dim] +| | | | | | 1.7612034e-16 9.2548176e-17 +| | | | | error measurements: +| | | | | delta_x = 1.0354953671e-09 +| | | | | delta_x_scaled = 3.8259504993e-14 +| | | | | newtonXTol = 1.0000000000e-12 +| | | | | error_f = 9.1551335970e-16 +| | | | | error_f_scaled = 1.9895612277e-16 | | | | | newtonFTol = 1.0000000000e-12 -| | | | | Note: newton solver rejected last x because previous was as good LOG_NLS | info | | Solution status: SOLVED -| | | | | | number of iterations : 8 -| | | | | | number of function evaluations : 10 -| | | | | | number of jacobian evaluations : 8 +| | | | | | number of iterations : 10 +| | | | | | number of function evaluations : 32 +| | | | | | number of jacobian evaluations : 10 | | | | | | solution values: | | | | | | [ 1] y = 3.3118158e-06 | | | | | | [ 2] x = -77390.689 LOG_INIT_V | info | parameter values | | | | | real parameters @@ -231,15 +272,15 @@ | | | | | | [1] Real $cse3(start=0, nominal=1) = 0 (pre: 0) | | | | | | [2] Real $cse4(start=0, nominal=1) = 0 (pre: 0) | | | | | | [3] Real x(start=50000, nominal=100000) = -77390.7 (pre: 50000) | | | | | | [4] Real y(start=5e-06, nominal=1e-05) = 3.31182e-06 (pre: 5e-06) LOG_INIT | info | ### END INITIALIZATION ### -LOG_NLS | info | ############ Solve nonlinear system 18 at time 0 ############ +LOG_NLS | info | ############ Solve nonlinear system 8 at time 0 ############ | | | | | initial variable values: | | | | | | [ 1] x = -77390.689 nom = 100000 | | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 -LOG_NLS_V | info | Start solving Non-Linear System 18 (size 2) at time 0 with Mixed (Newton/Homotopy) Solver +LOG_NLS_V | info | Start solving Non-Linear System 8 (size 2) at time 0 with Mixed (Newton/Homotopy) Solver | | | | | System values [2-dim] | | | | | | -77390.689 3.3118158e-06 | | | | | Nominal values [2-dim] | | | | | | 100000 1e-05 | | | | | Scaling values [3-dim] @@ -249,54 +290,53 @@ | | | | | indRow: [2-dim] | | | | | | 0 1 | | | | | indCol: [3-dim] | | | | | | 1 0 2 | | | | | vector x (solution): [3-dim] -| | | | | | -2.9880129e-17 -6.2675771e-17 1 +| | | | | | 3.6042743e-17 -2.1076711e-16 1 | | | | | regular initial point!!! | | | | | ****************************************************** -| | | | | NEWTON SOLVER STARTED! equation number: 18 +| | | | | NEWTON SOLVER STARTED! equation number: 8 | | | | | maximum number of function evaluation: 200 | | | | | nls status | | | | | | variables | | | | | | [ 1] x = -77390.689 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308 | | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308 | | | | | Iteration: 1 | | | | | newton step | | | | | | variables -| | | | | | [ 1] x = -77390.689 step = -2.9880129e-12 old = -77390.689 -| | | | | | [ 2] y = 3.3118158e-06 step = -6.2675771e-22 old = 3.3118158e-06 -| | | | | Need to damp, grad_f = -9.8607613153e-32 -| | | | | Need to damp, error_f = 2.2204460493e-16 +| | | | | | [ 1] x = -77390.689 step = 3.6042743e-12 old = -77390.689 +| | | | | | [ 2] y = 3.3118158e-06 step = -2.1076711e-21 old = 3.3118158e-06 +| | | | | Need to damp, grad_f = -1.6763294236e-30 +| | | | | Need to damp, error_f = 9.1551335970e-16 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 -| | | | | Need to damp, error_f1 = 2.2204460493e-16 -| | | | | Need to damp, forced error = 3.9443045261e-32 +| | | | | Need to damp, error_f1 = 1.5700924587e-16 +| | | | | Need to damp, forced error = 6.7053176944e-31 | | | | | function values: [2-dim] -| | | | | | -2.220446e-16 0 +| | | | | | -1.110223e-16 -1.110223e-16 | | | | | scaled function values: [2-dim] -| | | | | | -4.4236473e-17 0 +| | | | | | -2.2015042e-17 -4.6274088e-17 | | | | | error measurements: -| | | | | delta_x = 2.9880129153e-12 -| | | | | delta_x_scaled = 6.9433956834e-17 +| | | | | delta_x = 3.6042742879e-12 +| | | | | delta_x_scaled = 2.1382669093e-16 | | | | | newtonXTol = 1.0000000000e-12 -| | | | | error_f = 2.2204460493e-16 -| | | | | error_f_scaled = 4.4236473073e-17 +| | | | | error_f = 1.5700924587e-16 +| | | | | error_f_scaled = 5.1244056530e-17 | | | | | newtonFTol = 1.0000000000e-12 -| | | | | Note: newton solver rejected last x because previous was as good LOG_NLS | info | | Solution status: SOLVED | | | | | | number of iterations : 1 -| | | | | | number of function evaluations : 2 +| | | | | | number of function evaluations : 4 | | | | | | number of jacobian evaluations : 1 | | | | | | solution values: | | | | | | [ 1] x = -77390.689 | | | | | | [ 2] y = 3.3118158e-06 LOG_SUCCESS | info | The initialization finished successfully without homotopy method. -LOG_NLS | info | ############ Solve nonlinear system 18 at time 0 ############ +LOG_NLS | info | ############ Solve nonlinear system 8 at time 0 ############ | | | | | initial variable values: | | | | | | [ 1] x = -77390.689 nom = 100000 | | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 -LOG_NLS_V | info | Start solving Non-Linear System 18 (size 2) at time 0 with Mixed (Newton/Homotopy) Solver +LOG_NLS_V | info | Start solving Non-Linear System 8 (size 2) at time 0 with Mixed (Newton/Homotopy) Solver | | | | | System values [2-dim] | | | | | | -77390.689 3.3118158e-06 | | | | | Nominal values [2-dim] | | | | | | 100000 1e-05 | | | | | Scaling values [3-dim] @@ -306,48 +346,49 @@ | | | | | indRow: [2-dim] | | | | | | 0 1 | | | | | indCol: [3-dim] | | | | | | 1 0 2 | | | | | vector x (solution): [3-dim] -| | | | | | 2.9880129e-17 6.2675771e-17 1 +| | | | | | -6.2676295e-17 1.1957895e-17 1 | | | | | regular initial point!!! | | | | | ****************************************************** -| | | | | NEWTON SOLVER STARTED! equation number: 18 +| | | | | NEWTON SOLVER STARTED! equation number: 8 | | | | | maximum number of function evaluation: 200 | | | | | nls status | | | | | | variables | | | | | | [ 1] x = -77390.689 nom = 100000 min = -1.7976931e+308 max = 1.7976931e+308 | | | | | | [ 2] y = 3.3118158e-06 nom = 1e-05 min = -1.7976931e+308 max = 1.7976931e+308 | | | | | Iteration: 1 | | | | | newton step | | | | | | variables -| | | | | | [ 1] x = -77390.689 step = 2.9880129e-12 old = -77390.689 -| | | | | | [ 2] y = 3.3118158e-06 step = 6.2675771e-22 old = 3.3118158e-06 -| | | | | Need to damp, grad_f = -9.8607613153e-32 -| | | | | Need to damp, error_f = 2.2204460493e-16 +| | | | | | [ 1] x = -77390.689 step = -6.2676295e-12 old = -77390.689 +| | | | | | [ 2] y = 3.3118158e-06 step = 1.1957895e-22 old = 3.3118158e-06 +| | | | | Need to damp, grad_f = -4.9303806576e-32 +| | | | | Need to damp, error_f = 1.5700924587e-16 | | | | | Need to damp this!! lambda1 = 1.0000000000e+00 -| | | | | Need to damp, error_f1 = 2.2204460493e-16 -| | | | | Need to damp, forced error = 3.9443045261e-32 +| | | | | Need to damp, error_f1 = 1.5700924587e-16 +| | | | | Need to damp, forced error = 1.9721522631e-32 | | | | | function values: [2-dim] -| | | | | | 2.220446e-16 0 +| | | | | | -1.110223e-16 -1.110223e-16 | | | | | scaled function values: [2-dim] -| | | | | | 4.4236473e-17 0 +| | | | | | -2.2015042e-17 -4.6274088e-17 | | | | | error measurements: -| | | | | delta_x = 2.9880129153e-12 -| | | | | delta_x_scaled = 6.9433956834e-17 +| | | | | delta_x = 6.2676295255e-12 +| | | | | delta_x_scaled = 6.3806811777e-17 | | | | | newtonXTol = 1.0000000000e-12 -| | | | | error_f = 2.2204460493e-16 -| | | | | error_f_scaled = 4.4236473073e-17 +| | | | | error_f = 1.5700924587e-16 +| | | | | error_f_scaled = 5.1244056609e-17 | | | | | newtonFTol = 1.0000000000e-12 | | | | | Note: newton solver rejected last x because previous was as good LOG_NLS | info | | Solution status: SOLVED | | | | | | number of iterations : 2 -| | | | | | number of function evaluations : 4 +| | | | | | number of function evaluations : 8 | | | | | | number of jacobian evaluations : 2 | | | | | | solution values: | | | | | | [ 1] x = -77390.689 | | | | | | [ 2] y = 3.3118158e-06 LOG_SUCCESS | info | The simulation finished successfully. LOG_NLS | info | free non-linear system solvers " end SimulationResult; -"" +"[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSparsePattern failed +" Equation mismatch: omc-diff says: Line 20: Integer 7 != 3 == 1 out of 1 tests failed [simulation/modelica/nonlinear_system/bug_2841.mos_temp5584, time: 4]