Generation of Solenoidal Modes and Magnetic Fields in Turbulence Driven by Compressive Driving