Hi troberts
So it looks like the size of the MMI should be a multiple of the grid spacing. I had a 5um square MMi with a 40nm grid - so I guess that is why it did not work.
It seems to be working now - and can optimise the design. More testing of parameters is necessary.

Do you know why the maximum number of iterations is not observed? It seems to run indefinitely despite the fixed max iterations.