Functional Transformation Combined with Modified SQP for Transient Stability-constrained OPF