"unable to teleport" happens if there is something where the rolling stock is supposed to get spawned.
In most cases it is connected to snapping to the train stop, or a curved rail to near the exit depending on the trains speed. The latter can be avoided by having more straight rail to teleport to.
The "STOP IT" happens when parts of a train (subtrain) gets blocked and can't move at the speed the controlling train is. Since there is no way to check for collision I tried to guess about it by comparing the speed and see if there is a too rapid drop in speed. But it is a very unstable method probably causing lots of undesired side effects.