The proofA reference for the fact that flat maps are open in the complex-analytic category can be foundis Theorem 2.12, p. 180 in
C. Bănică, O. Stănăşilă: Algebraic methods in the global theory of complex spaces, Theorem 2.12 p. 180.
See also my answer to MO question MO question 4115841158.