Modelling the luminosities and sizes of radio sources : radio luminosity function at z = 6