Complementarity framework formulation from bond graphs to model a class of nonlinear systems and hybrid systems with fixed causality. (September 2018)