Automatic differentiation algorithms in model analysis door