Kevin Magnussen took pole position in the wet for the first Formula Renault 3.5 race of the weekend at Silverstone.