For terminal voltage $V$, and EMF $E$, current $I$ and internal resistance $r$,

$V = E-ir$

So for $V = E$, $r$ should be zero.

I believe $i$ cannot be zero if there is a potential difference, right?
So the internal resistance must be zero, right?