`torch.onnx._optimize_trace` fails for simple example in python 3.5

I have a problem converting a simple model to onnx in the master branch. The full post can be found here: