anchor.diff:                          , x_AD  , xd_AD  , z_AD   &
                           )           
         
  +      !----------------------------------------------------------------------------------------
  +      ! Check to see if we should output data this time step:
  +      !----------------------------------------------------------------------------------------
  +
  +      CALL WriteOutputToFile()   
  +   
      !...............
      ! Copy values of these initial guesses for interpolation/extrapolation and 
      ! initialize predicted states for j_pc loop (use MESH_NEWCOPY here so we can use MESH_UPDATE copy later)
  
positive.code: REAL(DbKi)                            :: t_global                                ! Current simulation time
  REAL(DbKi)                            :: t_global_next                           ! next simulation time (t_global + p_FAST%dt)
  REAL(DbKi), PARAMETER                 :: t_initial = 0.0_DbKi                    ! Initial time
  REAL(DbKi)                            :: OutTime                                 ! Used to determine if output should be generated at this simulation time
  
  REAL(ReKi)                            :: PrevClockTime                           ! Clock time at start of simulation in seconds
  REAL                                  :: UsrTime1                                ! User CPU time for simulation initialization
  
negative.code:          END IF
  
        ENDIF
              
     END SUBROUTINE WriteOutputToFile      
     !...............................................................................................................................
     SUBROUTINE InitModuleMappings()
     ! This routine initializes all of the mapping data structures needed between the various modules.
  