Hi the problem is in your control
you are working CC with 20A until 49.5V and the CV, the problem is that there is a current jump to 360A that cause a big voltage drop in the battery model (actually is the internal voltage drop is higher than the external voltage drop)
You should release the CC lately or correct the string battery parameters.