I have been trying to get the frozen permeability macro to work but I keep getting results that show the permeability not changing with time/with the position of a rotor in a motor simulation. I don't know what is causing these incorrect results but I have tried it one multiple different models and keep getting the same result.
As an example, I tried running the macro on one of the examples included with flux which I have attached. Please help me figure out what is wrong with how I'm running this macro that's causing this issue.