Powell optimizer cannot work properly

Hi, I want to use the PowellOptimizer as the optimizer in registration. However, when I use PowellOptimizer, the registration cannot start and it stuck at the beginning as shown below:


It always staying the “Starting the registration now…”.
I have tested the use of PowellOptimizer in itkPowellOptimizerTest.cxx and got the “test passed” results.

On the other hand, when the AmoebaOptimizer was used as the optimizer in registration, the registration can normally work. So I think it may not by the problem of the registration.

I want to know why the PowellOptimizer cannot work properly in registation?