Manchester City have completed a deadline day deal with FC Porto for midfielder Nicolas Gonzalez, adding the midfielder in the final hours of the midseason window.