Running script REVS_config_ambient_load ...
Running ambient=class_REVS_ambient; 

Running script REVS_config_vehicle_load ...
Running vehicle_CVM_P0 
Loading vehicle_CVM_P0
Running CVM_P0_driver 
Loading CVM_P0_driver

Running script REVS_config_engine_load ...
Running engine_2018_Toyota_A25AFKS_2L5_Tier3 

Running script REVS_config_transmission_load ...
Running transmission_6AT_FWD_midsize_car 
Loading transmission_6AT_FWD_midsize_car

Running script REVS_config_electric_load ...
Running electric_starter_alternator_param 
Loading electric_starter_alternator_param

Running script REVS_config_accessories_load ...
Running accessory_EPS_param 
Loading accessory_EPS_param

Running script REVS_config_CVM_controls_load ...
Running CVM_controls_param_midsize_car 
Loading CVM_controls_param_midsize_car

Running script REVS_config_engine_modify ...

Running script REVS_config_transmission_modify ...

Running script REVS_config_electric_modify ...

Running script REVS_config_vehicle_modify ...

Running script CVM_P0_P2_preprocess ...

Running script REVS_config_external_data_modify ...

Running script REVS_config_CVM_controls_update ...

### Building the Accelerator target for model: REVS_VM
### Generating code into build folder: /Users/kevinnewman/Code/GitHub/ALPHA_REVS3/ALPHA_DEMO/output/ALPHA_CVM_DEMO_sim/slprj/accel/REVS_VM
### Serializing module
### Writing machine code
### Successfully built the Accelerator target for model: REVS_VM

Running REVS_postprocess_DCDC_log
Running REVS_postprocess_accessory_battery_log
Running REVS_postprocess_alternator_log
Running REVS_postprocess_drive_motor_log
Running REVS_postprocess_engine_basics_log
Running REVS_postprocess_engine_idle_log
Running REVS_postprocess_mech_accessories_log
Running REVS_postprocess_propulsion_battery_log
Running REVS_postprocess_transmission_log
Running REVS_postprocess_vehicle_basics_log
Running REVS_postprocess_vehicle_performance_log

       ---------- Phase Results ----------
   EPA_UDDS_1: ---------------------------------------
   Percent Time Missed by 2mph =   0.00 %
       Distance                    =  3.613 mi
       Fuel Consumption            = 275.4272 grams
       Fuel Consumption            = 0.0979 gallons
       Fuel Economy (Volumetric)   = 36.903 mpg
       Fuel Economy (CAFE)         = 37.337 mpg
       Fuel Consumption            = 76.242 g/mile
       CO2 Emission                = 231.85 g/mile

   EPA_UDDS_2: ---------------------------------------
   Percent Time Missed by 2mph =   0.00 %
       Distance                    =  3.889 mi
       Fuel Consumption            = 339.9436 grams
       Fuel Consumption            = 0.1208 gallons
       Fuel Economy (Volumetric)   = 32.191 mpg
       Fuel Economy (CAFE)         = 32.569 mpg
       Fuel Consumption            = 87.402 g/mile
       CO2 Emission                = 265.78 g/mile

   EPA_HWFET: ---------------------------------------
   Percent Time Missed by 2mph =   0.00 %
       Distance                    = 10.269 mi
       Fuel Consumption            = 592.0805 grams
       Fuel Consumption            = 0.2104 gallons
       Fuel Economy (Volumetric)   = 48.799 mpg
       Fuel Economy (CAFE)         = 49.372 mpg
       Fuel Consumption            = 57.656 g/mile
       CO2 Emission                = 175.33 g/mile

   EPA_US06_1: ---------------------------------------
   Percent Time Missed by 2mph =   0.00 %
       Distance                    =  1.797 mi
       Fuel Consumption            = 241.5317 grams
       Fuel Consumption            = 0.0858 gallons
       Fuel Economy (Volumetric)   = 20.931 mpg
       Fuel Economy (CAFE)         = 21.177 mpg
       Fuel Consumption            = 134.421 g/mile
       CO2 Emission                = 408.76 g/mile

   EPA_US06_2: ---------------------------------------
   Percent Time Missed by 2mph =   0.00 %
       Distance                    =  6.245 mi
       Fuel Consumption            = 496.9534 grams
       Fuel Consumption            = 0.1766 gallons
       Fuel Economy (Volumetric)   = 35.356 mpg
       Fuel Economy (CAFE)         = 35.771 mpg
       Fuel Consumption            = 79.578 g/mile
       CO2 Emission                = 241.99 g/mile

       --------- Weighted Results --------
   EPA_UDDS: --------------------------------
   Percent Time Missed by 2mph =   0.00 %
       Distance                    =  7.502 mi
       Fuel Consumption            = 615.3709 grams
       Fuel Consumption            = 0.2187 gallons
       Fuel Economy (Volumetric)   = 34.300 mpg
       Fuel Economy (CAFE)         = 34.703 mpg
       Fuel Consumption            = 82.028 g/mile
       CO2 Emission                = 249.44 g/mile

   EPA_HWFET: -------------------------------
   Percent Time Missed by 2mph =   0.00 %
       Distance                    = 10.269 mi
       Fuel Consumption            = 592.0805 grams
       Fuel Consumption            = 0.2104 gallons
       Fuel Economy (Volumetric)   = 48.799 mpg
       Fuel Economy (CAFE)         = 49.372 mpg
       Fuel Consumption            = 57.656 g/mile
       CO2 Emission                = 175.33 g/mile

   EPA_US06: --------------------------------
   Percent Time Missed by 2mph =   0.00 %
       Distance                    =  8.042 mi
       Fuel Consumption            = 738.4851 grams
       Fuel Consumption            = 0.2625 gallons
       Fuel Economy (Volumetric)   = 30.638 mpg
       Fuel Economy (CAFE)         = 30.998 mpg
       Fuel Consumption            = 91.832 g/mile
       CO2 Emission                = 279.25 g/mile

   EPA_UDDS_1 audit: ---------------

         ---- Energy Audit Report ----

Gross Energy Provided            = 11563.34 kJ
    Fuel Energy                  = 11555.27 kJ     99.93%
    Stored Energy                =     8.06 kJ      0.07%
    Kinetic Energy               =     0.00 kJ      0.00%
    Potential Energy             =     0.00 kJ      0.00%

Net Energy Provided              =  3411.46 kJ
    Engine Energy                =  3404.43 kJ   99.79%
         Engine Efficiency       =    29.46 %
    Stored Energy                =     7.03 kJ    0.21%
    Kinetic Energy               =     0.00 kJ    0.00%
    Potential Energy             =     0.00 kJ    0.00%

Energy Consumed by ABC roadload  =  1636.73 kJ     47.97%
Energy Consumed by Gradient      =     0.00 kJ      0.00%
Energy Consumed by Accessories   =   303.26 kJ      8.89%
    Starter                      =     0.49 kJ      0.01%
    Alternator                   =   103.67 kJ      3.04%
    Battery Stored Charge        =     0.00 kJ      0.00%
    Engine Fan                   =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Power Steering               =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Air Conditioning             =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Generic Loss                 =   199.09 kJ      5.84%
         Electrical              =   199.09 kJ      5.84%
         Mechanical              =     0.00 kJ      0.00%
    Total Electrical Accessories =   199.09 kJ      5.84%
    Total Mechanical Accessories =     0.00 kJ      0.00%
Energy Consumed by Driveline     =  1471.53 kJ     43.13%
     Engine                      =     0.00 kJ      0.00%
     Launch Device               =   163.51 kJ      4.79%
     Gearbox                     =   620.42 kJ     18.18%
         Pump Loss               =   316.76 kJ      9.28%
         Spin Loss               =   168.26 kJ      4.93%
         Gear Loss               =   110.31 kJ      3.23%
         Inertia Loss            =    25.10 kJ      0.74%
     Final Drive                 =     0.00 kJ      0.00%
     Friction Brakes             =   674.74 kJ     19.78%
     Tire Slip                   =    12.85 kJ      0.38%
System Kinetic Energy Gain       =     0.38 kJ      0.01%
                                    ------------
Total Loss Energy                =  3411.90 kJ
Simulation Error                 =    -0.44 kJ
Energy Conservation              =  100.013 %

   EPA_UDDS_2 audit: ---------------

         ---- Energy Audit Report ----

Gross Energy Provided            = 14262.01 kJ
    Fuel Energy                  = 14262.00 kJ    100.00%
    Stored Energy                =     0.00 kJ      0.00%
    Kinetic Energy               =     0.02 kJ      0.00%
    Potential Energy             =     0.00 kJ      0.00%

Net Energy Provided              =  3600.47 kJ
    Engine Energy                =  3600.46 kJ  100.00%
         Engine Efficiency       =    25.25 %
    Stored Energy                =     0.00 kJ    0.00%
    Kinetic Energy               =     0.02 kJ    0.00%
    Potential Energy             =     0.00 kJ    0.00%

Energy Consumed by ABC roadload  =  1155.02 kJ     32.08%
Energy Consumed by Gradient      =     0.00 kJ      0.00%
Energy Consumed by Accessories   =   522.98 kJ     14.52%
    Starter                      =     0.00 kJ      0.00%
    Alternator                   =   183.04 kJ      5.08%
    Battery Stored Charge        =     2.62 kJ      0.07%
    Engine Fan                   =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Power Steering               =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Air Conditioning             =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Generic Loss                 =   337.32 kJ      9.37%
         Electrical              =   337.32 kJ      9.37%
         Mechanical              =     0.00 kJ      0.00%
    Total Electrical Accessories =   337.32 kJ      9.37%
    Total Mechanical Accessories =     0.00 kJ      0.00%
Energy Consumed by Driveline     =  1922.72 kJ     53.40%
     Engine                      =     0.00 kJ      0.00%
     Launch Device               =   292.57 kJ      8.13%
     Gearbox                     =   837.15 kJ     23.25%
         Pump Loss               =   501.32 kJ     13.92%
         Spin Loss               =   180.62 kJ      5.02%
         Gear Loss               =   127.30 kJ      3.54%
         Inertia Loss            =    27.90 kJ      0.77%
     Final Drive                 =     0.00 kJ      0.00%
     Friction Brakes             =   779.88 kJ     21.66%
     Tire Slip                   =    13.12 kJ      0.36%
System Kinetic Energy Gain       =     0.00 kJ      0.00%
                                    ------------
Total Loss Energy                =  3600.72 kJ
Simulation Error                 =    -0.25 kJ
Energy Conservation              =  100.007 %

   EPA_HWFET audit: ----------------

         ---- Energy Audit Report ----

Gross Energy Provided            = 24840.15 kJ
    Fuel Energy                  = 24840.15 kJ    100.00%
    Stored Energy                =     0.00 kJ      0.00%
    Kinetic Energy               =     0.00 kJ      0.00%
    Potential Energy             =     0.00 kJ      0.00%

Net Energy Provided              =  8284.68 kJ
    Engine Energy                =  8284.68 kJ  100.00%
         Engine Efficiency       =    33.35 %
    Stored Energy                =     0.00 kJ    0.00%
    Kinetic Energy               =     0.00 kJ    0.00%
    Potential Energy             =     0.00 kJ    0.00%

Energy Consumed by ABC roadload  =  6016.04 kJ     72.62%
Energy Consumed by Gradient      =     0.00 kJ      0.00%
Energy Consumed by Accessories   =   462.30 kJ      5.58%
    Starter                      =     0.00 kJ      0.00%
    Alternator                   =   161.80 kJ      1.95%
    Battery Stored Charge        =     1.83 kJ      0.02%
    Engine Fan                   =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Power Steering               =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Air Conditioning             =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Generic Loss                 =   298.66 kJ      3.60%
         Electrical              =   298.66 kJ      3.60%
         Mechanical              =     0.00 kJ      0.00%
    Total Electrical Accessories =   298.66 kJ      3.60%
    Total Mechanical Accessories =     0.00 kJ      0.00%
Energy Consumed by Driveline     =  1806.49 kJ     21.80%
     Engine                      =     0.00 kJ      0.00%
     Launch Device               =   135.55 kJ      1.64%
     Gearbox                     =  1250.50 kJ     15.09%
         Pump Loss               =   552.58 kJ      6.67%
         Spin Loss               =   452.04 kJ      5.46%
         Gear Loss               =   236.08 kJ      2.85%
         Inertia Loss            =     9.80 kJ      0.12%
     Final Drive                 =     0.00 kJ      0.00%
     Friction Brakes             =   408.02 kJ      4.92%
     Tire Slip                   =    12.42 kJ      0.15%
System Kinetic Energy Gain       =     0.00 kJ      0.00%
                                    ------------
Total Loss Energy                =  8284.82 kJ
Simulation Error                 =    -0.14 kJ
Energy Conservation              =  100.002 %

   EPA_US06_1 audit: ---------------

         ---- Energy Audit Report ----

Gross Energy Provided            = 10133.22 kJ
    Fuel Energy                  = 10133.22 kJ    100.00%
    Stored Energy                =     0.00 kJ      0.00%
    Kinetic Energy               =     0.00 kJ      0.00%
    Potential Energy             =     0.00 kJ      0.00%

Net Energy Provided              =  3063.40 kJ
    Engine Energy                =  3063.40 kJ  100.00%
         Engine Efficiency       =    30.23 %
    Stored Energy                =     0.00 kJ    0.00%
    Kinetic Energy               =     0.00 kJ    0.00%
    Potential Energy             =     0.00 kJ    0.00%

Energy Consumed by ABC roadload  =   957.72 kJ     31.24%
Energy Consumed by Gradient      =     0.00 kJ      0.00%
Energy Consumed by Accessories   =   141.85 kJ      4.63%
    Starter                      =     0.00 kJ      0.00%
    Alternator                   =    49.65 kJ      1.62%
    Battery Stored Charge        =     0.46 kJ      0.02%
    Engine Fan                   =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Power Steering               =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Air Conditioning             =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Generic Loss                 =    91.74 kJ      2.99%
         Electrical              =    91.74 kJ      2.99%
         Mechanical              =     0.00 kJ      0.00%
    Total Electrical Accessories =    91.74 kJ      2.99%
    Total Mechanical Accessories =     0.00 kJ      0.00%
Energy Consumed by Driveline     =  1965.96 kJ     64.13%
     Engine                      =     0.00 kJ      0.00%
     Launch Device               =   190.92 kJ      6.23%
     Gearbox                     =   378.14 kJ     12.34%
         Pump Loss               =   192.92 kJ      6.29%
         Spin Loss               =   154.19 kJ      5.03%
         Gear Loss               =   -40.67 kJ     -1.33%
         Inertia Loss            =    71.71 kJ      2.34%
     Final Drive                 =     0.00 kJ      0.00%
     Friction Brakes             =  1365.64 kJ     44.55%
     Tire Slip                   =    31.26 kJ      1.02%
System Kinetic Energy Gain       =     0.00 kJ      0.00%
                                    ------------
Total Loss Energy                =  3065.54 kJ
Simulation Error                 =    -2.14 kJ
Energy Conservation              =  100.070 %

   EPA_US06_2 audit: ---------------

         ---- Energy Audit Report ----

Gross Energy Provided            = 20849.18 kJ
    Fuel Energy                  = 20849.18 kJ    100.00%
    Stored Energy                =     0.00 kJ      0.00%
    Kinetic Energy               =     0.00 kJ      0.00%
    Potential Energy             =     0.00 kJ      0.00%

Net Energy Provided              =  7033.42 kJ
    Engine Energy                =  7033.42 kJ  100.00%
         Engine Efficiency       =    33.73 %
    Stored Energy                =     0.00 kJ    0.00%
    Kinetic Energy               =     0.00 kJ    0.00%
    Potential Energy             =     0.00 kJ    0.00%

Energy Consumed by ABC roadload  =  5203.97 kJ     73.97%
Energy Consumed by Gradient      =     0.00 kJ      0.00%
Energy Consumed by Accessories   =   220.32 kJ      3.13%
    Starter                      =     0.00 kJ      0.00%
    Alternator                   =    77.11 kJ      1.10%
    Battery Stored Charge        =     0.71 kJ      0.01%
    Engine Fan                   =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Power Steering               =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Air Conditioning             =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Generic Loss                 =   142.50 kJ      2.03%
         Electrical              =   142.50 kJ      2.03%
         Mechanical              =     0.00 kJ      0.00%
    Total Electrical Accessories =   142.50 kJ      2.03%
    Total Mechanical Accessories =     0.00 kJ      0.00%
Energy Consumed by Driveline     =  1610.76 kJ     22.90%
     Engine                      =     0.00 kJ      0.00%
     Launch Device               =   130.98 kJ      1.86%
     Gearbox                     =   996.04 kJ     14.16%
         Pump Loss               =   345.80 kJ      4.92%
         Spin Loss               =   406.90 kJ      5.78%
         Gear Loss               =   186.77 kJ      2.65%
         Inertia Loss            =    56.58 kJ      0.80%
     Final Drive                 =     0.00 kJ      0.00%
     Friction Brakes             =   464.16 kJ      6.60%
     Tire Slip                   =    19.59 kJ      0.28%
System Kinetic Energy Gain       =     0.00 kJ      0.00%
                                    ------------
Total Loss Energy                =  7035.06 kJ
Simulation Error                 =    -1.64 kJ
Energy Conservation              =  100.023 %

   EPA_UDDS & EPA_HWFET & EPA_US06 audit: 

         ---- Energy Audit Report ----

Gross Energy Provided            = 81644.10 kJ
    Fuel Energy                  = 81639.89 kJ     99.99%
    Stored Energy                =     4.20 kJ      0.01%
    Kinetic Energy               =     0.00 kJ      0.00%
    Potential Energy             =     0.00 kJ      0.00%

Net Energy Provided              = 25387.80 kJ
    Engine Energy                = 25386.40 kJ   99.99%
         Engine Efficiency       =    31.10 %
    Stored Energy                =     1.41 kJ    0.01%
    Kinetic Energy               =     0.00 kJ    0.00%
    Potential Energy             =     0.00 kJ    0.00%

Energy Consumed by ABC roadload  = 14969.48 kJ     58.95%
Energy Consumed by Gradient      =     0.00 kJ      0.00%
Energy Consumed by Accessories   =  1645.10 kJ      6.48%
    Starter                      =     0.49 kJ      0.00%
    Alternator                   =   575.28 kJ      2.27%
    Battery Stored Charge        =     0.00 kJ      0.00%
    Engine Fan                   =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Power Steering               =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Air Conditioning             =     0.00 kJ      0.00%
         Electrical              =     0.00 kJ      0.00%
         Mechanical              =     0.00 kJ      0.00%
    Generic Loss                 =  1069.32 kJ      4.21%
         Electrical              =  1069.32 kJ      4.21%
         Mechanical              =     0.00 kJ      0.00%
    Total Electrical Accessories =  1069.32 kJ      4.21%
    Total Mechanical Accessories =     0.00 kJ      0.00%
Energy Consumed by Driveline     =  8777.48 kJ     34.57%
     Engine                      =     0.00 kJ      0.00%
     Launch Device               =   913.53 kJ      3.60%
     Gearbox                     =  4082.27 kJ     16.08%
         Pump Loss               =  1909.38 kJ      7.52%
         Spin Loss               =  1362.01 kJ      5.36%
         Gear Loss               =   619.80 kJ      2.44%
         Inertia Loss            =   191.08 kJ      0.75%
     Final Drive                 =     0.00 kJ      0.00%
     Friction Brakes             =  3692.45 kJ     14.54%
     Tire Slip                   =    89.23 kJ      0.35%
System Kinetic Energy Gain       =     0.36 kJ      0.00%
                                    ------------
Total Loss Energy                = 25392.41 kJ
Simulation Error                 =    -4.61 kJ
Energy Conservation              =  100.018 %

