General Motors and OnStar will trial smart grid systems for electric vehicles this year, paving the way, they said, for utilities to increase energy efficiency and offer lower charging costs to customers.