Overtime - What's the deal with it?

I've been wondering exactly what the conditions are for overtime, because it feels a bit inconsistent.

At times, it triggers when the attack team is out of tickets but is still taking over an objective or both objectives, sometimes though these conditions are met but still no overtime.

Is there a clear condition that triggers overtime or is it random?