During the first half of the Ultima Weapon fight, each phase change was shown via one of the Primals being taken out/"freed" from Ultima. When all three were released the first fight ends, then we get the cutscene before going to the second Ultima Weapon fight. Near the end of the second fight it does indeed begin casting Ultima, which if it manages to do so causes a wipe.