Thanks for your help!
Yes it was fully charged. And I always know voltage on the battery when I park the motorcycle because I have Scorpio alarm system with telemetry. Here is the story. The motorcycle battery was on the charger before the trip (I always keep the battery on the charger because the motorcycle has extra accessories like Scorpio alarm system, m-lock and sometimes I use First Gear heated gear for cold days (but that day I did not turn on the heated gear), plus I use motogadget mini cluster with a bunch of relays instead of standard cluster, so they eat some amperes. I performed Milliampere Draw Test on parked motorcycle with attached m-lock and activated alarm system and it eats up to 10-18 milliamperes from the battery when motorcycle is resting. If I isolate the m-lock and the alarm system it eats 1.1 milliamperes with no accessories on the parked motorcycle. Does this mean a shortened wire in the accessories circuit or is it normal?
By the way, I washed my motorcycle with water before the trip, so maybe it can be a part of the reason? I've modified the tail section with tail light and the headlight is modified too so there can be some open wires and water can shorten them. I know that my new wiring has some water resistance issues, because if I ride under the rain my oil pressure check LED light can turn on and off for short time in half brightness like there is a connection between the oil pressure check wire and the motorcycle ground.
Yesterday after one hour trip I parked the motorcycle and according the Scorpio alarm telemetry the battery had 11.8 volts. Then I tried to start the motorcycle, but at 11.8 volts my m-lock relay just disconnecting the power from the battery while the starter was trying to crank the engine, so I shortened the m-lock relay contacts to eliminate the problem, but the motorcycle starter was not able to crank the engine and it was just clicking. So I roll the motorcycle to the gas station and asked a car driver to connect his car battery and started my bike. Then I rode 1 hour back to home and at home the battery showed 12 volts and I was able to start the bike with no jumping! Sounds like it was charging on the back way.
Today I tested the charging system. Before the test I fully charged the battery.
The 2009 Buell XB stator has 2 wires. I disconnected the plug 46 from the stator (under the left air scoop) and measured resistance between the plug 46 pins on the stator side, it showed 0 (zero) to 0.1 Ohm. Then I measured the resistance between the both plug 46 pins from the stator and the motorcycle ground and it was infinite (no continuity). I performed all these measurements with no motorcycle starting. Then I started the motorcycle with disconnected stator and measured the AC voltage on the the plug 46 from the stator, it showed 30 volts AC at idle 1200 RPM, 50 volts AC at 2000 RPM, 72 volts AC at 3000 RPM. So the stator is fine.
Next, I connected the stator back to the voltage regulator and disconnected the voltage regulator from the plug 77 under the right side air scoop. I connected the voltmeter to the plug 77 from the voltage regulator side and started the motorcycle. The voltmeter showed 1.8 volts DC at any RPM. I'm not sure this is the right way to test the voltage regulator.
Then I connected all this stuff back to initial condition (the stator connected to the voltage regulator and the voltage regulator connected to the motorcycle circuit), started the motorcycle engine and measured DC voltage on the battery terminals. It showed 12.9 volts DC at idle 1200 RPM (it is more than 12.7-12.6 volts while resting with no lights and the key switch is turned off, and it is more than 12.1-12.2 volts while resting with lights and the key switch is turned on), 14.25 volts DC at 2000 RPM, 14.27 volts DC at 3000 RPM, 14.28 volts DC at 3600 RPM.
When the battery is fully charged the voltmeter shows 12.7 volts DC on the battery with lights turned off at resting. When I turn on the key and the lights the DC voltage on the battery drops to 12.2 volts. When I start the fuel pump the DC voltage on the battery drops to 12.1 volts while fuel pump is pumping. When I crank the starter the voltage on the battery can drop below 7 volts for very short time if it is struggling with crank, or it can drops just to 10 volts for very short time if it is easy to crank, it is always different.
I inspected the wires and the plugs under the left side scoop and they are in good condition.
I use motogadget mini cluster and relays for the cluster lights, and LED turn signal flasher, they might eat some extra amperes comparing with the original equipment, or there can be a shortened wire in my new wiring? Should I perform Milliampere Draw Test? The bad thing is my digital voltmeter are not capable to perform this test with high amperes.
Is it bad battery? I bought the most expensive Duracell AGM battery just a year ago and I always keep the battery on the charger.
The weird thing is that it never happened before yesterday. It was like I rode the motorcycle with disconnected stator or with extra load on the battery like shortened wire. I believe even the battery is bad the charging system should keep the battery above the low voltage. Now I just can not trust the motorcycle to take it more than 1 hour away from home.
Maybe I will go to the the auto parts store next to me and ask them to perform the battery load test.