ERROR: UndefVarError: `connect` not defined in `Main`

Have you gotten a warning in the REPL about a name conflict? Try defining

connect = ModelingToolkit.connect
1 Like