A Portsmouth-based Royal Navy ship has participated in experimental link up training with American and Australian allies.