Hydrostatics and dynamical large deviations of boundary driven gradient symmetric exclusion · wovepaper