Gmx dipoles output file error

GROMACS version:
GROMACS modification: Yes/No

When running gmx dipoles with -corr mol the dipole autocorrelation function outputs nan for all values. The outputs of Mtot, Aver, and Epsilon seem to be fine, but the autocorrelation file is not being generated properly.