Suppose that $\pi:X\to S$ is a flat morphism between Noetherian, integral schemes (of characteristic zero, if need be). Let $\mathcal{E}$ be a locally free sheaf on $X$, and $$\nabla:\mathcal{E} \to \Omega_{X/S}\otimes\mathcal{E}$$ an $\mathcal{O}_S$-linear connection.
It would also be very useful to me if we allow $\nabla$ to be a logarithmic connection, i.e. taking values in $\Omega_{X/S}(D)\otimes\mathcal{E}$ for some divisor $D \subset X$.
We have the sheaf of $\nabla$-constants, a sub-$\mathcal{O}_S$ module of $\mathcal{E}$: $$\mathcal{E}^\nabla := \mathrm{ker}\left[\mathcal{E} \xrightarrow{\nabla} \Omega_{X/S}\otimes\mathcal{E}\right]$$
Question: What is the sheaf cohomology $H^1(X,\mathcal{E}^\nabla$)? (or rather the higher direct image $R^1\pi_*(\mathcal{E}^\nabla))$
If $\mathcal{E}^\nabla$ is a constant sheaf, then it is flasque and hence acyclic. However I haven't been able to figure out how to show that $\mathcal{E}^\nabla$ is a constant sheaf. What can we say here?
I would even be content to understand the simplified case of: $\mathcal{E}$ a line bundle and $\pi$ relative dimension 1 with normal crossing singularities.