Abaqus 6.13 script crashes CAE with Set()

Wanted to report that when I try to execute

mdb.models['modelname'].rootAssembly.Set(name='edgeset',edges=edge_sequence)

the CAE window exits and I get the error message

Unexpected LoadLibraryA error 193
GUI detected error while waiting for ipc connection to close.
Unexpected LoadLibraryA error 193
Abaqus Error: Abaqus/CAE Kernel exited with an error.
Press any key to continue . . .

Anyone else seen this? Is there a fix? edge_sequence is a sequence of edge objects returned from

mdb.models['modelname'].part['partname'].edges[i].getEdgesbyEdgeAngle()

It occurred to me that the problem is that I am trying to use a PART edge sequence to make a Set in the assembly. If I generate a Set in the part, it works fine and is automatically added to the assembly as partname.edgeset, when I instance the part, which makes sense.

But I suppose this error shouldn't crash the GUI.

Thanks,
Dan