A rigid-plastic micromechanical modeling of a random packing of frictional particles