System level differentiable simulation of radio access networks