I am unable to reproduce this error with Python 3.8.3 and pytorch-1.4.0 from conda.
Based on your error message, it seems like your input shape might be the problem. Try using an input with shape [14] as the input during tracing:
traced_model = torch.jit.trace(model, torch.zeros([14], dtype=torch.float))

Stepping back a bit, I would advise you to use scripting (torch.jit.script) rather than tracing for this use case. The reason is that control flow is not visible to tracing and from what I remember, the backward pass for dropout predicates whether or not the incoming gradient should be backpropagated based on whether the corresponding input was passed through during the forward pass.