When I try to run sensitivity analysis with the custom measurement shown below I get the following error:
-- Loading simulation profile sim.sim -- Specification error: Unknown error. (Spec: _custom_meas(v(out),v(vin)), File:sim.sens.dat) Analysis stopped
_custom_meas(1,2) = y2
1| search forward for 1:level (50%,p) !1;
2| search forward x value (x1) !2;
The measurement actually provides the expected value when I run the simulator, and the Sensitivity tool runs okay if I select other measurement types but not for custom_meas(). Could you please help me to find what is wrong?