which are connected to the Arduino PWM read inputs (Pin 2, 3).
I've tried to measure the signals in A0 and A1 inputs
This pair of statements makes no sense. If the current and voltage sensors are connected to A0 and A1, they are NOT connected to pins 2 and 3. If they are connected to pins 2 and 3, reading A0 and A1 is a waste of effort.