/* SimDriveline target specific file
 *      This file generated as part of SimDriveline code generation.
 */
/* drive_Vehicle_Plant_1.c - body for module drive_Vehicle_Plant_1 */
#include "drive_Vehicle_Plant_1.h"
DriveLine *_drive_Vehicle_Plant_1_drive_line;
DriveLine *drive_Vehicle_Plant_1_drive_line(drive_Vehicle_Plant_1_data_table *_table)
{
    DriveLine *_dline;
    _dline = &_table->_dline;
    _dline->compilerData = _table->DriveCompilerData_table;
    _dline->compilerData->numBlocks = 27;
    _dline->compilerData->block = _table->DriveBlock_table;
    _dline->compilerData->block[0].numFlanges = 1;
    _dline->compilerData->block[0].numSolver = 1;
    _dline->compilerData->block[0].name = (char *)_table->UINT8_table;
    strcpy(_dline->compilerData->block[0].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Driveline\\\\nEnvironment");
    _dline->compilerData->block[0].visibleName = (char *)(_table->UINT8_table + 69);
    strcpy(_dline->compilerData->block[0].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Driveline\\\\nEnvironment");
    _dline->compilerData->block[0].type = DRIVESOLVER;
    _dline->compilerData->block[0].flange = _table->INT32_table;
    _dline->compilerData->block[0].solver = _table->DriveSolver_table;
    _dline->compilerData->block[0].solver[0].implementModeIteration = true;
    _dline->compilerData->block[0].solver[0].defaultClutchVelocityTolerance = 0.001;
    _dline->compilerData->block[0].solver[0].defaultAutomaticVarStepClutchVelocityTolerance = true;
    _dline->compilerData->block[1].numFlanges = 1;
    _dline->compilerData->block[1].numParameters = 2;
    _dline->compilerData->block[1].parameter = _table->DriveParameter_table;
    _dline->compilerData->block[1].parameter[0].type = DRIVERTP_INERTIA;
    _dline->compilerData->block[1].parameter[0].flag = (char *)(_table->UINT8_table + 138);
    strcpy(_dline->compilerData->block[1].parameter[0].flag, "drive_b7edfdaInertia");
    _dline->compilerData->block[1].parameter[1].type = DRIVERTP_INITIALCONDITION;
    _dline->compilerData->block[1].parameter[1].flag = (char *)(_table->UINT8_table + 159);
    strcpy(_dline->compilerData->block[1].parameter[1].flag, "drive_b7edfdaInitialCondition");
    _dline->compilerData->block[1].numInertia = 1;
    _dline->compilerData->block[1].name = (char *)(_table->UINT8_table + 189);
    strcpy(_dline->compilerData->block[1].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Passenger\\\\nHalf-shaft");
    _dline->compilerData->block[1].visibleName = (char *)(_table->UINT8_table + 257);
    strcpy(_dline->compilerData->block[1].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Passenger\\\\nHalf-shaft");
    _dline->compilerData->block[1].type = DRIVEINERTIA;
    _dline->compilerData->block[1].flange = _table->INT32_table + 1;
    _dline->compilerData->block[1].inertia = _table->DriveInertia_table;
    _dline->compilerData->block[1].inertia[0].inertia = 0.0015;
    _dline->compilerData->block[2].numFlanges = 2;
    _dline->compilerData->block[2].numParameters = 1;
    _dline->compilerData->block[2].parameter = _table->DriveParameter_table + 2;
    _dline->compilerData->block[2].parameter[0].type = DRIVERTP_SIMPLEGEARRATIO;
    _dline->compilerData->block[2].parameter[0].flag = (char *)(_table->UINT8_table + 325);
    strcpy(_dline->compilerData->block[2].parameter[0].flag, "drive_66f4f47bGearRatio");
    _dline->compilerData->block[2].numSimpleGear = 1;
    _dline->compilerData->block[2].name = (char *)(_table->UINT8_table + 349);
    strcpy(_dline->compilerData->block[2].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Differential\\\\n3.73:1 ratio/Simple Gear3");
    _dline->compilerData->block[2].visibleName = (char *)(_table->UINT8_table + 435);
    strcpy(_dline->compilerData->block[2].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Differential\\\\n3.73:1 ratio");
    _dline->compilerData->block[2].type = DRIVESIMPLEGEAR;
    _dline->compilerData->block[2].flange = _table->INT32_table + 2;
    _dline->compilerData->block[2].flange[1] = 1;
    _dline->compilerData->block[2].simpleGear = _table->DriveSimpleGear_table;
    _dline->compilerData->block[2].simpleGear[0].reversing = true;
    _dline->compilerData->block[2].simpleGear[0].inputFlange = 1;
    _dline->compilerData->block[2].simpleGear[0].ratio = 1.0;
    _dline->compilerData->block[3].numFlanges = 3;
    _dline->compilerData->block[3].numParameters = 1;
    _dline->compilerData->block[3].parameter = _table->DriveParameter_table + 3;
    _dline->compilerData->block[3].parameter[0].type = DRIVERTP_PLANETPLANETGEARRATIO;
    _dline->compilerData->block[3].parameter[0].flag = (char *)(_table->UINT8_table + 508);
    strcpy(_dline->compilerData->block[3].parameter[0].flag, "drive_2c9773aPlanetPlanetRatio");
    _dline->compilerData->block[3].numPlanetPlanet = 1;
    _dline->compilerData->block[3].name = (char *)(_table->UINT8_table + 539);
    strcpy(_dline->compilerData->block[3].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Differential\\\\n3.73:1 ratio/Planet-Planet");
    _dline->compilerData->block[3].visibleName = (char *)(_table->UINT8_table + 626);
    strcpy(_dline->compilerData->block[3].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Differential\\\\n3.73:1 ratio");
    _dline->compilerData->block[3].type = DRIVEPLANETPLANET;
    _dline->compilerData->block[3].flange = _table->INT32_table + 4;
    _dline->compilerData->block[3].flange[0] = 1;
    _dline->compilerData->block[3].flange[1] = 2;
    _dline->compilerData->block[3].flange[2] = 4;
    _dline->compilerData->block[3].planetPlanet = _table->DrivePlanetPlanet_table;
    _dline->compilerData->block[3].planetPlanet[0].planetFlange = 2;
    _dline->compilerData->block[3].planetPlanet[0].carrierFlange = 1;
    _dline->compilerData->block[3].planetPlanet[0].ratio = 1.0;
    _dline->compilerData->block[4].numFlanges = 3;
    _dline->compilerData->block[4].numParameters = 1;
    _dline->compilerData->block[4].parameter = _table->DriveParameter_table + 4;
    _dline->compilerData->block[4].parameter[0].type = DRIVERTP_PLANETPLANETGEARRATIO;
    _dline->compilerData->block[4].parameter[0].flag = (char *)(_table->UINT8_table + 699);
    strcpy(_dline->compilerData->block[4].parameter[0].flag, "drive_ba163815PlanetPlanetRatio");
    _dline->compilerData->block[4].numPlanetPlanet = 1;
    _dline->compilerData->block[4].name = (char *)(_table->UINT8_table + 731);
    strcpy(_dline->compilerData->block[4].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Differential\\\\n3.73:1 ratio/Planet-Planet1");
    _dline->compilerData->block[4].visibleName = (char *)(_table->UINT8_table + 819);
    strcpy(_dline->compilerData->block[4].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Differential\\\\n3.73:1 ratio");
    _dline->compilerData->block[4].type = DRIVEPLANETPLANET;
    _dline->compilerData->block[4].flange = _table->INT32_table + 7;
    _dline->compilerData->block[4].flange[0] = 2;
    _dline->compilerData->block[4].flange[1] = 3;
    _dline->compilerData->block[4].flange[2] = 5;
    _dline->compilerData->block[4].planetPlanet = _table->DrivePlanetPlanet_table + 1;
    _dline->compilerData->block[4].planetPlanet[0].sunFlange = 2;
    _dline->compilerData->block[4].planetPlanet[0].planetFlange = 1;
    _dline->compilerData->block[4].planetPlanet[0].ratio = 1.0;
    _dline->compilerData->block[5].numFlanges = 2;
    _dline->compilerData->block[5].numParameters = 1;
    _dline->compilerData->block[5].parameter = _table->DriveParameter_table + 5;
    _dline->compilerData->block[5].parameter[0].type = DRIVERTP_SIMPLEGEARRATIO;
    _dline->compilerData->block[5].parameter[0].flag = (char *)(_table->UINT8_table + 892);
    strcpy(_dline->compilerData->block[5].parameter[0].flag, "drive_adb1a753GearRatio");
    _dline->compilerData->block[5].numSimpleGear = 1;
    _dline->compilerData->block[5].name = (char *)(_table->UINT8_table + 916);
    strcpy(_dline->compilerData->block[5].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Differential\\\\n3.73:1 ratio/Simple Gear");
    _dline->compilerData->block[5].visibleName = (char *)(_table->UINT8_table + 1001);
    strcpy(_dline->compilerData->block[5].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Differential\\\\n3.73:1 ratio");
    _dline->compilerData->block[5].type = DRIVESIMPLEGEAR;
    _dline->compilerData->block[5].flange = _table->INT32_table + 10;
    _dline->compilerData->block[5].flange[0] = 3;
    _dline->compilerData->block[5].flange[1] = 4;
    _dline->compilerData->block[5].simpleGear = _table->DriveSimpleGear_table + 1;
    _dline->compilerData->block[5].simpleGear[0].reversing = true;
    _dline->compilerData->block[5].simpleGear[0].inputFlange = 1;
    _dline->compilerData->block[5].simpleGear[0].ratio = 1.0;
    _dline->compilerData->block[6].numFlanges = 2;
    _dline->compilerData->block[6].numParameters = 1;
    _dline->compilerData->block[6].parameter = _table->DriveParameter_table + 6;
    _dline->compilerData->block[6].parameter[0].type = DRIVERTP_SIMPLEGEARRATIO;
    _dline->compilerData->block[6].parameter[0].flag = (char *)(_table->UINT8_table + 1074);
    strcpy(_dline->compilerData->block[6].parameter[0].flag, "drive_11f3c4edGearRatio");
    _dline->compilerData->block[6].numSimpleGear = 1;
    _dline->compilerData->block[6].name = (char *)(_table->UINT8_table + 1098);
    strcpy(_dline->compilerData->block[6].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Differential\\\\n3.73:1 ratio/Simple Gear2");
    _dline->compilerData->block[6].visibleName = (char *)(_table->UINT8_table + 1184);
    strcpy(_dline->compilerData->block[6].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Differential\\\\n3.73:1 ratio");
    _dline->compilerData->block[6].type = DRIVESIMPLEGEAR;
    _dline->compilerData->block[6].flange = _table->INT32_table + 12;
    _dline->compilerData->block[6].flange[0] = 5;
    _dline->compilerData->block[6].flange[1] = 6;
    _dline->compilerData->block[6].simpleGear = _table->DriveSimpleGear_table + 2;
    _dline->compilerData->block[6].simpleGear[0].reversing = true;
    _dline->compilerData->block[6].simpleGear[0].outputFlange = 1;
    _dline->compilerData->block[6].simpleGear[0].ratio = 1.0;
    _dline->compilerData->block[7].numFlanges = 1;
    _dline->compilerData->block[7].numParameters = 2;
    _dline->compilerData->block[7].parameter = _table->DriveParameter_table + 7;
    _dline->compilerData->block[7].parameter[0].type = DRIVERTP_INERTIA;
    _dline->compilerData->block[7].parameter[0].flag = (char *)(_table->UINT8_table + 1257);
    strcpy(_dline->compilerData->block[7].parameter[0].flag, "drive_41c224bcInertia");
    _dline->compilerData->block[7].parameter[1].type = DRIVERTP_INITIALCONDITION;
    _dline->compilerData->block[7].parameter[1].flag = (char *)(_table->UINT8_table + 1279);
    strcpy(_dline->compilerData->block[7].parameter[1].flag, "drive_41c224bcInitialCondition");
    _dline->compilerData->block[7].numInertia = 1;
    _dline->compilerData->block[7].name = (char *)(_table->UINT8_table + 1310);
    strcpy(_dline->compilerData->block[7].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Driver\\\\nHalf-shaft");
    _dline->compilerData->block[7].visibleName = (char *)(_table->UINT8_table + 1375);
    strcpy(_dline->compilerData->block[7].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Driver\\\\nHalf-shaft");
    _dline->compilerData->block[7].type = DRIVEINERTIA;
    _dline->compilerData->block[7].flange = _table->INT32_table + 14;
    _dline->compilerData->block[7].flange[0] = 6;
    _dline->compilerData->block[7].inertia = _table->DriveInertia_table + 1;
    _dline->compilerData->block[7].inertia[0].inertia = 0.0015;
    _dline->compilerData->block[8].numFlanges = 2;
    _dline->compilerData->block[8].numStrainGauge = 1;
    _dline->compilerData->block[8].name = (char *)(_table->UINT8_table + 1440);
    strcpy(_dline->compilerData->block[8].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/RHIT Tire1/Torque Sensor/Torque Sensor\\\\nInternal");
    _dline->compilerData->block[8].visibleName = (char *)(_table->UINT8_table + 1535);
    strcpy(_dline->compilerData->block[8].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/RHIT Tire1/Torque Sensor");
    _dline->compilerData->block[8].type = DRIVESTRAINGAUGE;
    _dline->compilerData->block[8].flange = _table->INT32_table + 15;
    _dline->compilerData->block[8].flange[0] = 6;
    _dline->compilerData->block[8].flange[1] = 7;
    _dline->compilerData->block[8].strainGauge = _table->DriveStrainGauge_table;
    _dline->compilerData->block[8].strainGauge[0].flag = (char *)(_table->UINT8_table + 1607);
    strcpy(_dline->compilerData->block[8].strainGauge[0].flag, "drive_b36929c6");
    _dline->compilerData->block[9].numFlanges = 1;
    _dline->compilerData->block[9].numTransducer = 1;
    _dline->compilerData->block[9].name = (char *)(_table->UINT8_table + 1622);
    strcpy(_dline->compilerData->block[9].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/RHIT Tire1/Motion Actuator1/Transducer");
    _dline->compilerData->block[9].visibleName = (char *)(_table->UINT8_table + 1708);
    strcpy(_dline->compilerData->block[9].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/RHIT Tire1/Motion Actuator1");
    _dline->compilerData->block[9].type = DRIVETRANSDUCER;
    _dline->compilerData->block[9].flange = _table->INT32_table + 17;
    _dline->compilerData->block[9].flange[0] = 7;
    _dline->compilerData->block[9].transducer = _table->DriveTransducer_table;
    _dline->compilerData->block[9].transducer[0].positionFlag = (char *)(_table->UINT8_table + 1783);
    strcpy(_dline->compilerData->block[9].transducer[0].positionFlag, "drive_c3975f82Ang");
    _dline->compilerData->block[9].transducer[0].velocityFlag = (char *)(_table->UINT8_table + 1801);
    strcpy(_dline->compilerData->block[9].transducer[0].velocityFlag, "drive_c3975f82Vel");
    _dline->compilerData->block[9].transducer[0].accelerationFlag = (char *)(_table->UINT8_table + 1819);
    strcpy(_dline->compilerData->block[9].transducer[0].accelerationFlag, "drive_c3975f82Acc");
    _dline->compilerData->block[10].numFlanges = 1;
    _dline->compilerData->block[10].numTransducer = 1;
    _dline->compilerData->block[10].name = (char *)(_table->UINT8_table + 1837);
    strcpy(_dline->compilerData->block[10].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Foundation Brakes1/Motion Sensor/Transducer");
    _dline->compilerData->block[10].visibleName = (char *)(_table->UINT8_table + 1928);
    strcpy(_dline->compilerData->block[10].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Foundation Brakes1/Motion Sensor");
    _dline->compilerData->block[10].type = DRIVETRANSDUCER;
    _dline->compilerData->block[10].flange = _table->INT32_table + 18;
    _dline->compilerData->block[10].flange[0] = 6;
    _dline->compilerData->block[10].transducer = _table->DriveTransducer_table + 1;
    _dline->compilerData->block[10].transducer[0].numSignals = 2;
    _dline->compilerData->block[10].transducer[0].positionFlag = (char *)(_table->UINT8_table + 2008);
    strcpy(_dline->compilerData->block[10].transducer[0].positionFlag, "Undefined");
    _dline->compilerData->block[10].transducer[0].velocityFlag = (char *)(_table->UINT8_table + 2018);
    strcpy(_dline->compilerData->block[10].transducer[0].velocityFlag, "Undefined");
    _dline->compilerData->block[10].transducer[0].accelerationFlag = (char *)(_table->UINT8_table + 2028);
    strcpy(_dline->compilerData->block[10].transducer[0].accelerationFlag, "Undefined");
    _dline->compilerData->block[10].transducer[0].signal = _table->DriveSignal_table;
    _dline->compilerData->block[10].transducer[0].signal[0].type = DRIVEVELOCITY;
    _dline->compilerData->block[10].transducer[0].signal[0].flag = (char *)(_table->UINT8_table + 2038);
    strcpy(_dline->compilerData->block[10].transducer[0].signal[0].flag, "drive_44af51feVelocity");
    _dline->compilerData->block[10].transducer[0].signal[1].type = DRIVEACCELERATION;
    _dline->compilerData->block[10].transducer[0].signal[1].flag = (char *)(_table->UINT8_table + 2061);
    strcpy(_dline->compilerData->block[10].transducer[0].signal[1].flag, "drive_44af51feAcceleration");
    _dline->compilerData->block[11].numFlanges = 1;
    _dline->compilerData->block[11].numTransducer = 1;
    _dline->compilerData->block[11].name = (char *)(_table->UINT8_table + 2088);
    strcpy(_dline->compilerData->block[11].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Foundation Brakes1/Torque Actuator/Transducer");
    _dline->compilerData->block[11].visibleName = (char *)(_table->UINT8_table + 2181);
    strcpy(_dline->compilerData->block[11].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Foundation Brakes1/Torque Actuator");
    _dline->compilerData->block[11].type = DRIVETRANSDUCER;
    _dline->compilerData->block[11].flange = _table->INT32_table + 19;
    _dline->compilerData->block[11].flange[0] = 6;
    _dline->compilerData->block[11].transducer = _table->DriveTransducer_table + 2;
    _dline->compilerData->block[11].transducer[0].numSignals = 1;
    _dline->compilerData->block[11].transducer[0].positionFlag = (char *)(_table->UINT8_table + 2263);
    strcpy(_dline->compilerData->block[11].transducer[0].positionFlag, "Undefined");
    _dline->compilerData->block[11].transducer[0].velocityFlag = (char *)(_table->UINT8_table + 2273);
    strcpy(_dline->compilerData->block[11].transducer[0].velocityFlag, "Undefined");
    _dline->compilerData->block[11].transducer[0].accelerationFlag = (char *)(_table->UINT8_table + 2283);
    strcpy(_dline->compilerData->block[11].transducer[0].accelerationFlag, "Undefined");
    _dline->compilerData->block[11].transducer[0].signal = _table->DriveSignal_table + 2;
    _dline->compilerData->block[11].transducer[0].signal[0].type = DRIVEEXTERNALTORQUE;
    _dline->compilerData->block[11].transducer[0].signal[0].flag = (char *)(_table->UINT8_table + 2293);
    strcpy(_dline->compilerData->block[11].transducer[0].signal[0].flag, "drive_edff924Tor");
    _dline->compilerData->block[12].numFlanges = 2;
    _dline->compilerData->block[12].numParameters = 1;
    _dline->compilerData->block[12].parameter = _table->DriveParameter_table + 9;
    _dline->compilerData->block[12].parameter[0].type = DRIVERTP_SIMPLEGEARRATIO;
    _dline->compilerData->block[12].parameter[0].flag = (char *)(_table->UINT8_table + 2310);
    strcpy(_dline->compilerData->block[12].parameter[0].flag, "drive_88fa9557GearRatio");
    _dline->compilerData->block[12].numSimpleGear = 1;
    _dline->compilerData->block[12].name = (char *)(_table->UINT8_table + 2334);
    strcpy(_dline->compilerData->block[12].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Differential\\\\n3.73:1 ratio/Simple Gear1");
    _dline->compilerData->block[12].visibleName = (char *)(_table->UINT8_table + 2420);
    strcpy(_dline->compilerData->block[12].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Differential\\\\n3.73:1 ratio");
    _dline->compilerData->block[12].type = DRIVESIMPLEGEAR;
    _dline->compilerData->block[12].flange = _table->INT32_table + 20;
    _dline->compilerData->block[12].flange[0] = 2;
    _dline->compilerData->block[12].flange[1] = 8;
    _dline->compilerData->block[12].simpleGear = _table->DriveSimpleGear_table + 3;
    _dline->compilerData->block[12].simpleGear[0].reversing = true;
    _dline->compilerData->block[12].simpleGear[0].inputFlange = 1;
    _dline->compilerData->block[12].simpleGear[0].ratio = 7.46;
    _dline->compilerData->block[13].name = (char *)(_table->UINT8_table + 2493);
    strcpy(_dline->compilerData->block[13].name, "Vehicle_Plant/Vehicle_Plant/Shared Environment/Shared\\\\nEnvironment\\\\nInternal");
    _dline->compilerData->block[13].visibleName = (char *)(_table->UINT8_table + 2568);
    strcpy(_dline->compilerData->block[13].visibleName, "Vehicle_Plant/Vehicle_Plant/Shared Environment");
    _dline->compilerData->block[13].type = DRIVEFREEGEAR;
    _dline->compilerData->block[14].numFlanges = 1;
    _dline->compilerData->block[14].numParameters = 2;
    _dline->compilerData->block[14].parameter = _table->DriveParameter_table + 10;
    _dline->compilerData->block[14].parameter[0].type = DRIVERTP_INERTIA;
    _dline->compilerData->block[14].parameter[0].flag = (char *)(_table->UINT8_table + 2615);
    strcpy(_dline->compilerData->block[14].parameter[0].flag, "drive_854a8897Inertia");
    _dline->compilerData->block[14].parameter[1].type = DRIVERTP_INITIALCONDITION;
    _dline->compilerData->block[14].parameter[1].flag = (char *)(_table->UINT8_table + 2637);
    strcpy(_dline->compilerData->block[14].parameter[1].flag, "drive_854a8897InitialCondition");
    _dline->compilerData->block[14].numInertia = 1;
    _dline->compilerData->block[14].name = (char *)(_table->UINT8_table + 2668);
    strcpy(_dline->compilerData->block[14].name, "Vehicle_Plant/Vehicle_Plant/Engine/Engine");
    _dline->compilerData->block[14].visibleName = (char *)(_table->UINT8_table + 2710);
    strcpy(_dline->compilerData->block[14].visibleName, "Vehicle_Plant/Vehicle_Plant/Engine/Engine");
    _dline->compilerData->block[14].type = DRIVEINERTIA;
    _dline->compilerData->block[14].flange = _table->INT32_table + 22;
    _dline->compilerData->block[14].flange[0] = 9;
    _dline->compilerData->block[14].inertia = _table->DriveInertia_table + 2;
    _dline->compilerData->block[14].inertia[0].inertia = 0.15;
    _dline->compilerData->block[15].numFlanges = 1;
    _dline->compilerData->block[15].numParameters = 2;
    _dline->compilerData->block[15].parameter = _table->DriveParameter_table + 12;
    _dline->compilerData->block[15].parameter[0].type = DRIVERTP_INERTIA;
    _dline->compilerData->block[15].parameter[0].flag = (char *)(_table->UINT8_table + 2752);
    strcpy(_dline->compilerData->block[15].parameter[0].flag, "drive_25453dd7Inertia");
    _dline->compilerData->block[15].parameter[1].type = DRIVERTP_INITIALCONDITION;
    _dline->compilerData->block[15].parameter[1].flag = (char *)(_table->UINT8_table + 2774);
    strcpy(_dline->compilerData->block[15].parameter[1].flag, "drive_25453dd7InitialCondition");
    _dline->compilerData->block[15].numInertia = 1;
    _dline->compilerData->block[15].name = (char *)(_table->UINT8_table + 2805);
    strcpy(_dline->compilerData->block[15].name, "Vehicle_Plant/Vehicle_Plant/Generator/Inertia");
    _dline->compilerData->block[15].visibleName = (char *)(_table->UINT8_table + 2851);
    strcpy(_dline->compilerData->block[15].visibleName, "Vehicle_Plant/Vehicle_Plant/Generator/Inertia");
    _dline->compilerData->block[15].type = DRIVEINERTIA;
    _dline->compilerData->block[15].flange = _table->INT32_table + 23;
    _dline->compilerData->block[15].flange[0] = 9;
    _dline->compilerData->block[15].inertia = _table->DriveInertia_table + 3;
    _dline->compilerData->block[15].inertia[0].inertia = 0.1;
    _dline->compilerData->block[16].numFlanges = 1;
    _dline->compilerData->block[16].numTransducer = 1;
    _dline->compilerData->block[16].name = (char *)(_table->UINT8_table + 2897);
    strcpy(_dline->compilerData->block[16].name, "Vehicle_Plant/Vehicle_Plant/Engine/Motion Sensor/Transducer");
    _dline->compilerData->block[16].visibleName = (char *)(_table->UINT8_table + 2957);
    strcpy(_dline->compilerData->block[16].visibleName, "Vehicle_Plant/Vehicle_Plant/Engine/Motion Sensor");
    _dline->compilerData->block[16].type = DRIVETRANSDUCER;
    _dline->compilerData->block[16].flange = _table->INT32_table + 24;
    _dline->compilerData->block[16].flange[0] = 9;
    _dline->compilerData->block[16].transducer = _table->DriveTransducer_table + 3;
    _dline->compilerData->block[16].transducer[0].numSignals = 2;
    _dline->compilerData->block[16].transducer[0].positionFlag = (char *)(_table->UINT8_table + 3006);
    strcpy(_dline->compilerData->block[16].transducer[0].positionFlag, "Undefined");
    _dline->compilerData->block[16].transducer[0].velocityFlag = (char *)(_table->UINT8_table + 3016);
    strcpy(_dline->compilerData->block[16].transducer[0].velocityFlag, "Undefined");
    _dline->compilerData->block[16].transducer[0].accelerationFlag = (char *)(_table->UINT8_table + 3026);
    strcpy(_dline->compilerData->block[16].transducer[0].accelerationFlag, "Undefined");
    _dline->compilerData->block[16].transducer[0].signal = _table->DriveSignal_table + 3;
    _dline->compilerData->block[16].transducer[0].signal[0].type = DRIVEVELOCITY;
    _dline->compilerData->block[16].transducer[0].signal[0].flag = (char *)(_table->UINT8_table + 3036);
    strcpy(_dline->compilerData->block[16].transducer[0].signal[0].flag, "drive_f86d56ddVelocity");
    _dline->compilerData->block[16].transducer[0].signal[1].type = DRIVEACCELERATION;
    _dline->compilerData->block[16].transducer[0].signal[1].flag = (char *)(_table->UINT8_table + 3059);
    strcpy(_dline->compilerData->block[16].transducer[0].signal[1].flag, "drive_f86d56ddAcceleration");
    _dline->compilerData->block[17].numFlanges = 1;
    _dline->compilerData->block[17].numTransducer = 1;
    _dline->compilerData->block[17].name = (char *)(_table->UINT8_table + 3086);
    strcpy(_dline->compilerData->block[17].name, "Vehicle_Plant/Vehicle_Plant/Engine/Torque Actuator/Transducer");
    _dline->compilerData->block[17].visibleName = (char *)(_table->UINT8_table + 3148);
    strcpy(_dline->compilerData->block[17].visibleName, "Vehicle_Plant/Vehicle_Plant/Engine/Torque Actuator");
    _dline->compilerData->block[17].type = DRIVETRANSDUCER;
    _dline->compilerData->block[17].flange = _table->INT32_table + 25;
    _dline->compilerData->block[17].flange[0] = 9;
    _dline->compilerData->block[17].transducer = _table->DriveTransducer_table + 4;
    _dline->compilerData->block[17].transducer[0].numSignals = 1;
    _dline->compilerData->block[17].transducer[0].positionFlag = (char *)(_table->UINT8_table + 3199);
    strcpy(_dline->compilerData->block[17].transducer[0].positionFlag, "Undefined");
    _dline->compilerData->block[17].transducer[0].velocityFlag = (char *)(_table->UINT8_table + 3209);
    strcpy(_dline->compilerData->block[17].transducer[0].velocityFlag, "Undefined");
    _dline->compilerData->block[17].transducer[0].accelerationFlag = (char *)(_table->UINT8_table + 3219);
    strcpy(_dline->compilerData->block[17].transducer[0].accelerationFlag, "Undefined");
    _dline->compilerData->block[17].transducer[0].signal = _table->DriveSignal_table + 5;
    _dline->compilerData->block[17].transducer[0].signal[0].type = DRIVEEXTERNALTORQUE;
    _dline->compilerData->block[17].transducer[0].signal[0].flag = (char *)(_table->UINT8_table + 3229);
    strcpy(_dline->compilerData->block[17].transducer[0].signal[0].flag, "drive_820ca51aTor");
    _dline->compilerData->block[18].numFlanges = 1;
    _dline->compilerData->block[18].numTransducer = 1;
    _dline->compilerData->block[18].name = (char *)(_table->UINT8_table + 3247);
    strcpy(_dline->compilerData->block[18].name, "Vehicle_Plant/Vehicle_Plant/Generator/Motion Sensor/Transducer");
    _dline->compilerData->block[18].visibleName = (char *)(_table->UINT8_table + 3310);
    strcpy(_dline->compilerData->block[18].visibleName, "Vehicle_Plant/Vehicle_Plant/Generator/Motion Sensor");
    _dline->compilerData->block[18].type = DRIVETRANSDUCER;
    _dline->compilerData->block[18].flange = _table->INT32_table + 26;
    _dline->compilerData->block[18].flange[0] = 9;
    _dline->compilerData->block[18].transducer = _table->DriveTransducer_table + 5;
    _dline->compilerData->block[18].transducer[0].numSignals = 2;
    _dline->compilerData->block[18].transducer[0].positionFlag = (char *)(_table->UINT8_table + 3362);
    strcpy(_dline->compilerData->block[18].transducer[0].positionFlag, "Undefined");
    _dline->compilerData->block[18].transducer[0].velocityFlag = (char *)(_table->UINT8_table + 3372);
    strcpy(_dline->compilerData->block[18].transducer[0].velocityFlag, "Undefined");
    _dline->compilerData->block[18].transducer[0].accelerationFlag = (char *)(_table->UINT8_table + 3382);
    strcpy(_dline->compilerData->block[18].transducer[0].accelerationFlag, "Undefined");
    _dline->compilerData->block[18].transducer[0].signal = _table->DriveSignal_table + 6;
    _dline->compilerData->block[18].transducer[0].signal[0].type = DRIVEVELOCITY;
    _dline->compilerData->block[18].transducer[0].signal[0].flag = (char *)(_table->UINT8_table + 3392);
    strcpy(_dline->compilerData->block[18].transducer[0].signal[0].flag, "drive_2a0db13eVelocity");
    _dline->compilerData->block[18].transducer[0].signal[1].type = DRIVEACCELERATION;
    _dline->compilerData->block[18].transducer[0].signal[1].flag = (char *)(_table->UINT8_table + 3415);
    strcpy(_dline->compilerData->block[18].transducer[0].signal[1].flag, "drive_2a0db13eAcceleration");
    _dline->compilerData->block[19].numFlanges = 1;
    _dline->compilerData->block[19].numTransducer = 1;
    _dline->compilerData->block[19].name = (char *)(_table->UINT8_table + 3442);
    strcpy(_dline->compilerData->block[19].name, "Vehicle_Plant/Vehicle_Plant/Generator/Torque Actuator/Transducer");
    _dline->compilerData->block[19].visibleName = (char *)(_table->UINT8_table + 3507);
    strcpy(_dline->compilerData->block[19].visibleName, "Vehicle_Plant/Vehicle_Plant/Generator/Torque Actuator");
    _dline->compilerData->block[19].type = DRIVETRANSDUCER;
    _dline->compilerData->block[19].flange = _table->INT32_table + 27;
    _dline->compilerData->block[19].flange[0] = 9;
    _dline->compilerData->block[19].transducer = _table->DriveTransducer_table + 6;
    _dline->compilerData->block[19].transducer[0].numSignals = 1;
    _dline->compilerData->block[19].transducer[0].positionFlag = (char *)(_table->UINT8_table + 3561);
    strcpy(_dline->compilerData->block[19].transducer[0].positionFlag, "Undefined");
    _dline->compilerData->block[19].transducer[0].velocityFlag = (char *)(_table->UINT8_table + 3571);
    strcpy(_dline->compilerData->block[19].transducer[0].velocityFlag, "Undefined");
    _dline->compilerData->block[19].transducer[0].accelerationFlag = (char *)(_table->UINT8_table + 3581);
    strcpy(_dline->compilerData->block[19].transducer[0].accelerationFlag, "Undefined");
    _dline->compilerData->block[19].transducer[0].signal = _table->DriveSignal_table + 8;
    _dline->compilerData->block[19].transducer[0].signal[0].type = DRIVEEXTERNALTORQUE;
    _dline->compilerData->block[19].transducer[0].signal[0].flag = (char *)(_table->UINT8_table + 3591);
    strcpy(_dline->compilerData->block[19].transducer[0].signal[0].flag, "drive_e74b55b6Tor");
    _dline->compilerData->block[20].numFlanges = 1;
    _dline->compilerData->block[20].numParameters = 2;
    _dline->compilerData->block[20].parameter = _table->DriveParameter_table + 14;
    _dline->compilerData->block[20].parameter[0].type = DRIVERTP_INERTIA;
    _dline->compilerData->block[20].parameter[0].flag = (char *)(_table->UINT8_table + 3609);
    strcpy(_dline->compilerData->block[20].parameter[0].flag, "drive_2e233113Inertia");
    _dline->compilerData->block[20].parameter[1].type = DRIVERTP_INITIALCONDITION;
    _dline->compilerData->block[20].parameter[1].flag = (char *)(_table->UINT8_table + 3631);
    strcpy(_dline->compilerData->block[20].parameter[1].flag, "drive_2e233113InitialCondition");
    _dline->compilerData->block[20].numInertia = 1;
    _dline->compilerData->block[20].name = (char *)(_table->UINT8_table + 3662);
    strcpy(_dline->compilerData->block[20].name, "Vehicle_Plant/Vehicle_Plant/Electric_Motor/Inertia");
    _dline->compilerData->block[20].visibleName = (char *)(_table->UINT8_table + 3713);
    strcpy(_dline->compilerData->block[20].visibleName, "Vehicle_Plant/Vehicle_Plant/Electric_Motor/Inertia");
    _dline->compilerData->block[20].type = DRIVEINERTIA;
    _dline->compilerData->block[20].flange = _table->INT32_table + 28;
    _dline->compilerData->block[20].flange[0] = 8;
    _dline->compilerData->block[20].inertia = _table->DriveInertia_table + 4;
    _dline->compilerData->block[20].inertia[0].inertia = 0.1;
    _dline->compilerData->block[21].numFlanges = 1;
    _dline->compilerData->block[21].numTransducer = 1;
    _dline->compilerData->block[21].name = (char *)(_table->UINT8_table + 3764);
    strcpy(_dline->compilerData->block[21].name, "Vehicle_Plant/Vehicle_Plant/Electric_Motor/Motion Sensor/Transducer");
    _dline->compilerData->block[21].visibleName = (char *)(_table->UINT8_table + 3832);
    strcpy(_dline->compilerData->block[21].visibleName, "Vehicle_Plant/Vehicle_Plant/Electric_Motor/Motion Sensor");
    _dline->compilerData->block[21].type = DRIVETRANSDUCER;
    _dline->compilerData->block[21].flange = _table->INT32_table + 29;
    _dline->compilerData->block[21].flange[0] = 8;
    _dline->compilerData->block[21].transducer = _table->DriveTransducer_table + 7;
    _dline->compilerData->block[21].transducer[0].numSignals = 2;
    _dline->compilerData->block[21].transducer[0].positionFlag = (char *)(_table->UINT8_table + 3889);
    strcpy(_dline->compilerData->block[21].transducer[0].positionFlag, "Undefined");
    _dline->compilerData->block[21].transducer[0].velocityFlag = (char *)(_table->UINT8_table + 3899);
    strcpy(_dline->compilerData->block[21].transducer[0].velocityFlag, "Undefined");
    _dline->compilerData->block[21].transducer[0].accelerationFlag = (char *)(_table->UINT8_table + 3909);
    strcpy(_dline->compilerData->block[21].transducer[0].accelerationFlag, "Undefined");
    _dline->compilerData->block[21].transducer[0].signal = _table->DriveSignal_table + 9;
    _dline->compilerData->block[21].transducer[0].signal[0].type = DRIVEVELOCITY;
    _dline->compilerData->block[21].transducer[0].signal[0].flag = (char *)(_table->UINT8_table + 3919);
    strcpy(_dline->compilerData->block[21].transducer[0].signal[0].flag, "drive_dbd9494Velocity");
    _dline->compilerData->block[21].transducer[0].signal[1].type = DRIVEACCELERATION;
    _dline->compilerData->block[21].transducer[0].signal[1].flag = (char *)(_table->UINT8_table + 3941);
    strcpy(_dline->compilerData->block[21].transducer[0].signal[1].flag, "drive_dbd9494Acceleration");
    _dline->compilerData->block[22].numFlanges = 1;
    _dline->compilerData->block[22].numTransducer = 1;
    _dline->compilerData->block[22].name = (char *)(_table->UINT8_table + 3967);
    strcpy(_dline->compilerData->block[22].name, "Vehicle_Plant/Vehicle_Plant/Electric_Motor/Torque Actuator/Transducer");
    _dline->compilerData->block[22].visibleName = (char *)(_table->UINT8_table + 4037);
    strcpy(_dline->compilerData->block[22].visibleName, "Vehicle_Plant/Vehicle_Plant/Electric_Motor/Torque Actuator");
    _dline->compilerData->block[22].type = DRIVETRANSDUCER;
    _dline->compilerData->block[22].flange = _table->INT32_table + 30;
    _dline->compilerData->block[22].flange[0] = 8;
    _dline->compilerData->block[22].transducer = _table->DriveTransducer_table + 8;
    _dline->compilerData->block[22].transducer[0].numSignals = 1;
    _dline->compilerData->block[22].transducer[0].positionFlag = (char *)(_table->UINT8_table + 4096);
    strcpy(_dline->compilerData->block[22].transducer[0].positionFlag, "Undefined");
    _dline->compilerData->block[22].transducer[0].velocityFlag = (char *)(_table->UINT8_table + 4106);
    strcpy(_dline->compilerData->block[22].transducer[0].velocityFlag, "Undefined");
    _dline->compilerData->block[22].transducer[0].accelerationFlag = (char *)(_table->UINT8_table + 4116);
    strcpy(_dline->compilerData->block[22].transducer[0].accelerationFlag, "Undefined");
    _dline->compilerData->block[22].transducer[0].signal = _table->DriveSignal_table + 11;
    _dline->compilerData->block[22].transducer[0].signal[0].type = DRIVEEXTERNALTORQUE;
    _dline->compilerData->block[22].transducer[0].signal[0].flag = (char *)(_table->UINT8_table + 4126);
    strcpy(_dline->compilerData->block[22].transducer[0].signal[0].flag, "drive_bad4330fTor");
    _dline->compilerData->block[23].numFlanges = 2;
    _dline->compilerData->block[23].numStrainGauge = 1;
    _dline->compilerData->block[23].name = (char *)(_table->UINT8_table + 4144);
    strcpy(_dline->compilerData->block[23].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/RHIT Tire/Torque Sensor/Torque Sensor\\\\nInternal");
    _dline->compilerData->block[23].visibleName = (char *)(_table->UINT8_table + 4238);
    strcpy(_dline->compilerData->block[23].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/RHIT Tire/Torque Sensor");
    _dline->compilerData->block[23].type = DRIVESTRAINGAUGE;
    _dline->compilerData->block[23].flange = _table->INT32_table + 31;
    _dline->compilerData->block[23].flange[1] = 10;
    _dline->compilerData->block[23].strainGauge = _table->DriveStrainGauge_table + 1;
    _dline->compilerData->block[23].strainGauge[0].flag = (char *)(_table->UINT8_table + 4309);
    strcpy(_dline->compilerData->block[23].strainGauge[0].flag, "drive_5f9157c6");
    _dline->compilerData->block[24].numFlanges = 1;
    _dline->compilerData->block[24].numTransducer = 1;
    _dline->compilerData->block[24].name = (char *)(_table->UINT8_table + 4324);
    strcpy(_dline->compilerData->block[24].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/RHIT Tire/Motion Actuator1/Transducer");
    _dline->compilerData->block[24].visibleName = (char *)(_table->UINT8_table + 4409);
    strcpy(_dline->compilerData->block[24].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/RHIT Tire/Motion Actuator1");
    _dline->compilerData->block[24].type = DRIVETRANSDUCER;
    _dline->compilerData->block[24].flange = _table->INT32_table + 33;
    _dline->compilerData->block[24].flange[0] = 10;
    _dline->compilerData->block[24].transducer = _table->DriveTransducer_table + 9;
    _dline->compilerData->block[24].transducer[0].positionFlag = (char *)(_table->UINT8_table + 4483);
    strcpy(_dline->compilerData->block[24].transducer[0].positionFlag, "drive_f67e1c06Ang");
    _dline->compilerData->block[24].transducer[0].velocityFlag = (char *)(_table->UINT8_table + 4501);
    strcpy(_dline->compilerData->block[24].transducer[0].velocityFlag, "drive_f67e1c06Vel");
    _dline->compilerData->block[24].transducer[0].accelerationFlag = (char *)(_table->UINT8_table + 4519);
    strcpy(_dline->compilerData->block[24].transducer[0].accelerationFlag, "drive_f67e1c06Acc");
    _dline->compilerData->block[25].numFlanges = 1;
    _dline->compilerData->block[25].numTransducer = 1;
    _dline->compilerData->block[25].name = (char *)(_table->UINT8_table + 4537);
    strcpy(_dline->compilerData->block[25].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Foundation Brakes/Motion Sensor/Transducer");
    _dline->compilerData->block[25].visibleName = (char *)(_table->UINT8_table + 4627);
    strcpy(_dline->compilerData->block[25].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Foundation Brakes/Motion Sensor");
    _dline->compilerData->block[25].type = DRIVETRANSDUCER;
    _dline->compilerData->block[25].flange = _table->INT32_table + 34;
    _dline->compilerData->block[25].transducer = _table->DriveTransducer_table + 10;
    _dline->compilerData->block[25].transducer[0].numSignals = 2;
    _dline->compilerData->block[25].transducer[0].positionFlag = (char *)(_table->UINT8_table + 4706);
    strcpy(_dline->compilerData->block[25].transducer[0].positionFlag, "Undefined");
    _dline->compilerData->block[25].transducer[0].velocityFlag = (char *)(_table->UINT8_table + 4716);
    strcpy(_dline->compilerData->block[25].transducer[0].velocityFlag, "Undefined");
    _dline->compilerData->block[25].transducer[0].accelerationFlag = (char *)(_table->UINT8_table + 4726);
    strcpy(_dline->compilerData->block[25].transducer[0].accelerationFlag, "Undefined");
    _dline->compilerData->block[25].transducer[0].signal = _table->DriveSignal_table + 12;
    _dline->compilerData->block[25].transducer[0].signal[0].type = DRIVEVELOCITY;
    _dline->compilerData->block[25].transducer[0].signal[0].flag = (char *)(_table->UINT8_table + 4736);
    strcpy(_dline->compilerData->block[25].transducer[0].signal[0].flag, "drive_18f3cfccVelocity");
    _dline->compilerData->block[25].transducer[0].signal[1].type = DRIVEACCELERATION;
    _dline->compilerData->block[25].transducer[0].signal[1].flag = (char *)(_table->UINT8_table + 4759);
    strcpy(_dline->compilerData->block[25].transducer[0].signal[1].flag, "drive_18f3cfccAcceleration");
    _dline->compilerData->block[26].numFlanges = 1;
    _dline->compilerData->block[26].numTransducer = 1;
    _dline->compilerData->block[26].name = (char *)(_table->UINT8_table + 4786);
    strcpy(_dline->compilerData->block[26].name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Foundation Brakes/Torque Actuator/Transducer");
    _dline->compilerData->block[26].visibleName = (char *)(_table->UINT8_table + 4878);
    strcpy(_dline->compilerData->block[26].visibleName, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Foundation Brakes/Torque Actuator");
    _dline->compilerData->block[26].type = DRIVETRANSDUCER;
    _dline->compilerData->block[26].flange = _table->INT32_table + 35;
    _dline->compilerData->block[26].transducer = _table->DriveTransducer_table + 11;
    _dline->compilerData->block[26].transducer[0].numSignals = 1;
    _dline->compilerData->block[26].transducer[0].positionFlag = (char *)(_table->UINT8_table + 4959);
    strcpy(_dline->compilerData->block[26].transducer[0].positionFlag, "Undefined");
    _dline->compilerData->block[26].transducer[0].velocityFlag = (char *)(_table->UINT8_table + 4969);
    strcpy(_dline->compilerData->block[26].transducer[0].velocityFlag, "Undefined");
    _dline->compilerData->block[26].transducer[0].accelerationFlag = (char *)(_table->UINT8_table + 4979);
    strcpy(_dline->compilerData->block[26].transducer[0].accelerationFlag, "Undefined");
    _dline->compilerData->block[26].transducer[0].signal = _table->DriveSignal_table + 14;
    _dline->compilerData->block[26].transducer[0].signal[0].type = DRIVEEXTERNALTORQUE;
    _dline->compilerData->block[26].transducer[0].signal[0].flag = (char *)(_table->UINT8_table + 4989);
    strcpy(_dline->compilerData->block[26].transducer[0].signal[0].flag, "drive_d7a35373Tor");
    _dline->compilerData->ioSizes.numDynamicInputs = 5;
    _dline->compilerData->ioSizes.numDynamicOutputs = 7;
    _dline->compilerData->ioSizes.numKinematicInputs = 6;
    _dline->compilerData->ioSizes.numKinematicOutputs = 5;
    _dline->compilerData->ioSizes.numRtParameters = 16;
    _dline->compilerData->name = (char *)(_table->UINT8_table + 5007);
    strcpy(_dline->compilerData->name, "Vehicle_Plant/Vehicle_Plant/Rear Diff and Body/Driveline\\\\nEnvironment");
    _dline->compilerData->mdlHandle = 4.6810010986328125E+003;
    return _dline;
}
