ModelingToolkit and Linearization

In the video, I indicate that you have to remove the connection

ModelingToolkit.connect(gval.output, g.f)

when linearizing, unless you use analysis points.