A Distributed Multimodel Cosimulation Platform to Assess General Purpose Services in Smart Grids